| 130 | } |
| 131 | |
| 132 | static void NormalizePathSeparators(std::string& path) |
| 133 | { |
| 134 | #ifdef _WIN32 |
| 135 | for (char& c : path) |
| 136 | if (c == '/') |
| 137 | c = '\\'; |
| 138 | #else |
| 139 | for (char& c : path) |
| 140 | if (c == '\\') |
| 141 | c = '/'; |
| 142 | #endif |
| 143 | } |
| 144 | |
| 145 | static char PathSeparator() |
| 146 | { |
no outgoing calls
no test coverage detected