summaryrefslogtreecommitdiff
path: root/include/tgbot/tools
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2018-07-23 01:56:42 +0300
committerOleg Morozenkov <m@oleg.rocks>2018-07-23 01:56:42 +0300
commitd47ee877be5d1175bdc36f2d87881ddaf875a8e9 (patch)
tree7fd20cdc1236fe6b832ae980de12afd7071ebab9 /include/tgbot/tools
parentcea20d4078f2088dea0dd589f1cc9dd7ee22461b (diff)
Refactor http clients, fix webhook server, add more samples, change tabs to 4 spaces
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;
}
}