summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorRamzan Bekbulatov <ramzan.bekbulatov@rfdyn.ru>2016-11-23 17:03:34 +0300
committerRamzan Bekbulatov <ramzan.bekbulatov@rfdyn.ru>2016-11-23 17:03:34 +0300
commit242030c5d521794af65d25b4366020483b4ba8a6 (patch)
tree477972e25b188ed84e891a22e6ce3fbd9f5643df /src/tools
parent4d434eaa5fe9936dde30df7a3783a2117e023d4a (diff)
StringTools: small fix for perfomance
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/StringTools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/StringTools.cpp b/src/tools/StringTools.cpp
index 0a6dbc3..c682b35 100644
--- a/src/tools/StringTools.cpp
+++ b/src/tools/StringTools.cpp
@@ -84,7 +84,7 @@ string generateRandomString(size_t length) {
return result;
}
-string urlEncode(const string& value, const std::string additionalLegitChars) {
+string urlEncode(const string& value, const std::string& additionalLegitChars) {
static const string legitPunctuation = "-_.~";
ostringstream result;
result.fill('0');