summaryrefslogtreecommitdiff
path: root/include/tgbot/tools
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2018-07-23 02:35:50 +0300
committerOleg Morozenkov <m@oleg.rocks>2018-07-23 02:35:50 +0300
commit98b8b7e4338b71ee46c4301b0bf2ae667be9a99d (patch)
tree32f8b0d32048b2d83b57773c0efa3db9600b8701 /include/tgbot/tools
parent1dd3affe306793d2129f121c11e43c45ae8690da (diff)
parent167e3e7607e43a0f06c7f87ced94f481e6525b0e (diff)
Merge branch 'master' into nicholascw-master
Diffstat (limited to 'include/tgbot/tools')
-rw-r--r--include/tgbot/tools/StringTools.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tgbot/tools/StringTools.h b/include/tgbot/tools/StringTools.h
index 002757a..0f72045 100644
--- a/include/tgbot/tools/StringTools.h
+++ b/include/tgbot/tools/StringTools.h
@@ -82,9 +82,9 @@ std::string urlDecode(const std::string& value);
* @return Array of substrings
*/
inline std::vector<std::string> split(const std::string& str, char delimiter) {
- std::vector<std::string> result;
- split(str, delimiter, result);
- return result;
+ std::vector<std::string> result;
+ split(str, delimiter, result);
+ return result;
}
}