| 280 | } |
| 281 | |
| 282 | void replaceAll(std::string& resource_str, std::string sub_str, std::string new_str) |
| 283 | { |
| 284 | std::string::size_type pos = 0; |
| 285 | while ((pos = resource_str.find(sub_str)) != std::string::npos) |
| 286 | { |
| 287 | resource_str = resource_str.replace(pos, sub_str.length(), new_str); |
| 288 | } |
| 289 | return; |
| 290 | } |
| 291 | |
| 292 | unsigned long formatPathString(const std::string& path_string, std::string& out_string) |
| 293 | { |
no test coverage detected