diff options
author | Arif Darmawan <arif.pens@gmail.com> | 2016-11-26 01:29:22 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-26 01:29:22 +0700 |
commit | 4379e978f33782a5971930e861a6b5a217583a79 (patch) | |
tree | 50f0206f6e20efa3da57716eb3aa3bae0a78a23a | |
parent | 623045ecbd920d762217b8fc4e351a923d0aa4d0 (diff) |
fix bug #29
-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. |