| 423 | ////////////////////////////////////////////////////////////////////////// |
| 424 | |
| 425 | std::string getAbsolutePath(const std::string& _path, const std::string& _base) |
| 426 | { |
| 427 | const std::string path = getGenericPath(_path); |
| 428 | const std::string base = isAbsolute(_base) ? getGenericPath(_base) : getAbsolutePath(_base); |
| 429 | |
| 430 | // return absolute path |
| 431 | return isAbsolute(path) ? path : getGenericPath(base + "/" + path); |
| 432 | |
| 433 | } // getAbsolutePath |
| 434 | |
| 435 | ////////////////////////////////////////////////////////////////////////// |
| 436 |
no test coverage detected