diff options
Diffstat (limited to 'include/tgbot/tools/StringTools.h')
-rw-r--r-- | include/tgbot/tools/StringTools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tgbot/tools/StringTools.h b/include/tgbot/tools/StringTools.h index d1bc094..cb26bb5 100644 --- a/include/tgbot/tools/StringTools.h +++ b/include/tgbot/tools/StringTools.h @@ -1,6 +1,7 @@ #ifndef TGBOT_CPP_STRINGTOOLS_H #define TGBOT_CPP_STRINGTOOLS_H +#include <cstddef> #include <vector> #include <string> #include <sstream> @@ -36,7 +37,7 @@ void split(const std::string& str, char delimiter, std::vector<std::string>& des * Generates pseudo random string. It's recommended to call srand before this method. * @param length Length of resulting string. */ -std::string generateRandomString(size_t length); +std::string generateRandomString(std::size_t length); /** * Performs url encode. |