summaryrefslogtreecommitdiff
path: root/include/tgbot/tools/StringTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/tools/StringTools.h')
-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;
}
}