name may be absolute or relative
| 43 | { |
| 44 | // name may be absolute or relative |
| 45 | inline std::string rootPath(const std::string& name) { |
| 46 | return GlobalFileSystem().findRoot( |
| 47 | path_is_absolute(name.c_str()) ? name : GlobalFileSystem().findFile(name) |
| 48 | ); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | MapResource::MapResource(const std::string& resourcePath) |
no test coverage detected