Cleaning up the code base, remove dead code and failed attempts.

This commit is contained in:
meeh
2018-09-19 17:00:17 +00:00
parent 802115e813
commit e046418f8f
12 changed files with 351 additions and 105 deletions

View File

@@ -53,7 +53,7 @@ inline std::string extractString(CFStringRef value)
}
}
bool replace(std::string& str, const std::string& from, const std::string& to) {
inline bool replace(std::string& str, const std::string& from, const std::string& to) {
size_t start_pos = str.find(from);
if(start_pos == std::string::npos)
return false;