diff --git a/base/string_utils.hpp b/base/string_utils.hpp index f0cf1287da..446e65ad0b 100644 --- a/base/string_utils.hpp +++ b/base/string_utils.hpp @@ -165,8 +165,8 @@ public: typedef TokenizeIterator > SimpleTokenizer; -template -void Tokenize(string const & str, char const * delims, FunctorT f) +template +void Tokenize(string const & str, char const * delims, TFunctor && f) { SimpleTokenizer iter(str, delims); while (iter)