summaryrefslogtreecommitdiff
path: root/include/tgbot/tools/StringTools.h
diff options
context:
space:
mode:
authorArif Darmawan <arif.pens@gmail.com>2016-11-26 01:29:22 +0700
committerGitHub <noreply@github.com>2016-11-26 01:29:22 +0700
commit4379e978f33782a5971930e861a6b5a217583a79 (patch)
tree50f0206f6e20efa3da57716eb3aa3bae0a78a23a /include/tgbot/tools/StringTools.h
parent623045ecbd920d762217b8fc4e351a923d0aa4d0 (diff)
fix bug #29
Diffstat (limited to 'include/tgbot/tools/StringTools.h')
-rw-r--r--include/tgbot/tools/StringTools.h2
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.