summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Morozenkov <reo7sp@users.noreply.github.com>2016-11-27 00:29:53 +0300
committerGitHub <noreply@github.com>2016-11-27 00:29:53 +0300
commit255a7c0c5ef9187c4f099c1cd5e870da98c0d5d4 (patch)
tree50f0206f6e20efa3da57716eb3aa3bae0a78a23a
parent623045ecbd920d762217b8fc4e351a923d0aa4d0 (diff)
parent4379e978f33782a5971930e861a6b5a217583a79 (diff)
Merge pull request #30 from vanbwodonk/master
fix bug #29
-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.