forked from I2P_Developers/i2p.i2p
Cleaning up the code base, remove dead code and failed attempts.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user