summaryrefslogtreecommitdiff
path: root/include/tgbot/tools
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-08-11 22:13:23 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-08-11 22:13:23 +0300
commit376b88ec09ef8cf71dd823467406c58204485fcc (patch)
tree9ca599b854d18006c65b26003ce7dbdd416fdf18 /include/tgbot/tools
parentd7fbf7149d0e0c1c30972dab68d510ef6ac377dd (diff)
Fixed compiler's errors in TgTypeParser + fixed indentation + some other fixes
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 6c01575..8df7434 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;
}
}