diff options
-rw-r--r-- | include/tgbot/tools/StringTools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/tools/StringTools.h b/include/tgbot/tools/StringTools.h index 8df7434..002757a 100644 --- a/include/tgbot/tools/StringTools.h +++ b/include/tgbot/tools/StringTools.h @@ -66,7 +66,7 @@ std::string generateRandomString(size_t length); * @param additionalLegitChars Optional. String of chars which will be not encoded in source url string. * @return Encoded url string */ -std::string urlEncode(const std::string& value, const std::string additionalLegitChars = ""); +std::string urlEncode(const std::string& value, const std::string& additionalLegitChars = ""); /** * Performs url decode. |