diff options
-rw-r--r-- | tools.cpp | 2 | ||||
-rw-r--r-- | tools.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ string StringRepeat(int times, const string& input) return result; } -string StringWordTruncated(const string& input, size_t maxLen, bool& truncated) +string StringWordTruncate(const string& input, size_t maxLen, bool& truncated) { if (input.length() <= maxLen) { @@ -15,7 +15,7 @@ std::string StringReplace( std::string const& text, std::string const& substring std::vector< std::string > StringSplit( std::string const& text, char delimiter ); int StringToInt( std::string const& string, int base = 10 ); std::string StringRepeat(int times, const std::string& input); -std::string StringWordTruncated(const std::string& input, size_t maxLen, bool& truncated); +std::string StringWordTruncate(const std::string& input, size_t maxLen, bool& truncated); struct bad_lexical_cast: std::runtime_error { |