| 315 | } |
| 316 | |
| 317 | std::string PosixPath(const char *path) { |
| 318 | std::string p = path; |
| 319 | std::replace(p.begin(), p.end(), '\\', '/'); |
| 320 | return p; |
| 321 | } |
| 322 | std::string PosixPath(const std::string &path) { |
| 323 | return PosixPath(path.c_str()); |
| 324 | } |
no test coverage detected