summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools.h b/tools.h
index a196dc2..36f0c19 100644
--- a/tools.h
+++ b/tools.h
@@ -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
{