| 17 | { |
| 18 | |
| 19 | inline std::string |
| 20 | clipPath(std::string path, std::string str) |
| 21 | { |
| 22 | try { |
| 23 | std::string::size_type pos = path.rfind(str); |
| 24 | if(pos == std::string::npos) { |
| 25 | return path; |
| 26 | } else { |
| 27 | return path.substr(pos); |
| 28 | } |
| 29 | } catch(...) { |
| 30 | return path; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | #if defined(OS_WIN) |
| 35 | #define __PRETTY_FUNCTION__ __FUNCSIG__ |
nothing calls this directly
no outgoing calls
no test coverage detected