X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Futils.cpp;h=1b4cad080dee85950740b58de822484be2c2214e;hp=80e59f07a6cb5802eb741aa870a0498e2308fea0;hb=20c897ece781e18ba54c41fd68e232ce566a938d;hpb=c8bf2d6c15893ccc9dbc4e04611b7229029f4808 diff --git a/source/strings/utils.cpp b/source/strings/utils.cpp index 80e59f0..1b4cad0 100644 --- a/source/strings/utils.cpp +++ b/source/strings/utils.cpp @@ -40,7 +40,7 @@ vector do_split(const string &str, const string &sep, int max_split) return result; } -bool check_str(const std::string &str, int (*pred)(int)) +bool check_str(const string &str, int (*pred)(int)) { for(string::const_iterator i=str.begin(); i!=str.end(); ++i) if(!pred(*i)) @@ -144,7 +144,7 @@ string join(const string &str1, const string &sep, const string &str2) return append(result, sep, str2); } -string c_unescape(const std::string &str) +string c_unescape(const string &str) { bool escape = false; unsigned numeric_type = 0;