| 24 | |
| 25 | |
| 26 | std::string normalize_path(std::string const &p_path) |
| 27 | { |
| 28 | // If the path starts with "./", remove this prefix |
| 29 | std::string normalized_path = p_path; |
| 30 | if (normalized_path.find("./") == 0) |
| 31 | normalized_path = normalized_path.substr(2); |
| 32 | return normalized_path; |
| 33 | } |
| 34 | |
| 35 | |
| 36 | template < typename T, class = typename std::enable_if < std::is_arithmetic < T > ::value > ::type > |
no outgoing calls
no test coverage detected