From 4379e978f33782a5971930e861a6b5a217583a79 Mon Sep 17 00:00:00 2001 From: Arif Darmawan Date: Sat, 26 Nov 2016 01:29:22 +0700 Subject: fix bug #29 --- include/tgbot/tools/StringTools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tgbot/tools') 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. -- cgit v1.2.3