blob: 2945f2414cd5e2d64b06a38fd56cb26c8f1bb7a4 [file] [log] [blame]
#include "config.h"
#include "images.hpp"
#include <iterator>
#include <sstream>
#include <string>
#include <vector>
namespace phosphor
{
namespace software
{
namespace image
{
std::vector<std::string> getOptionalImages()
{
std::istringstream optionalImagesStr(OPTIONAL_IMAGES);
std::vector<std::string> optionalImages(
std::istream_iterator<std::string>{optionalImagesStr},
std::istream_iterator<std::string>());
return optionalImages;
}
} // namespace image
} // namespace software
} // namespace phosphor