---------------------------------------------------------------------
| 37 | |
| 38 | //--------------------------------------------------------------------- |
| 39 | std::vector<std::string> GetLines(const std::filesystem::path& path) |
| 40 | { |
| 41 | std::ifstream ifs(path.wstring()); |
| 42 | std::vector<std::string> lines; |
| 43 | std::string line; |
| 44 | |
| 45 | while (std::getline(ifs, line)) |
| 46 | lines.push_back(line); |
| 47 | return lines; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | //--------------------------------------------------------------------- |
no outgoing calls
no test coverage detected