| Adriana Kobylak | 73609bb | 2020-06-18 15:05:40 -0500 | [diff] [blame] | 1 | #include "config.h" | 
|  | 2 |  | 
|  | 3 | #include "images.hpp" | 
|  | 4 |  | 
|  | 5 | #include <iterator> | 
|  | 6 | #include <sstream> | 
|  | 7 | #include <string> | 
|  | 8 | #include <vector> | 
|  | 9 |  | 
|  | 10 | namespace phosphor | 
|  | 11 | { | 
|  | 12 | namespace software | 
|  | 13 | { | 
|  | 14 | namespace image | 
|  | 15 | { | 
|  | 16 |  | 
|  | 17 | std::vector<std::string> getOptionalImages() | 
|  | 18 | { | 
|  | 19 | std::istringstream optionalImagesStr(OPTIONAL_IMAGES); | 
|  | 20 | std::vector<std::string> optionalImages( | 
|  | 21 | std::istream_iterator<std::string>{optionalImagesStr}, | 
|  | 22 | std::istream_iterator<std::string>()); | 
|  | 23 | return optionalImages; | 
|  | 24 | } | 
|  | 25 |  | 
|  | 26 | } // namespace image | 
|  | 27 | } // namespace software | 
|  | 28 | } // namespace phosphor |