summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-22 23:28:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-22 23:28:47 +0300
commit76886a84c8c197a1f46f711e15569b6991e5555a (patch)
treedaaa2beaa5da04282405e9d0a4d0eb064a18c535 /src/utils/stringutils.h
parent218e1b2d09ba7be306cce3b4e2ef92a257466ef2 (diff)
downloadplus-76886a84c8c197a1f46f711e15569b6991e5555a.tar.gz
plus-76886a84c8c197a1f46f711e15569b6991e5555a.tar.bz2
plus-76886a84c8c197a1f46f711e15569b6991e5555a.tar.xz
plus-76886a84c8c197a1f46f711e15569b6991e5555a.zip
improve function for splitting string to ints.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 96645261b..6a900663e 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -175,8 +175,8 @@ void replaceSpecialChars(std::string &text);
*/
std::string normalize(const std::string &name) A_WARN_UNUSED;
-std::set<int> splitToIntSet(const std::string &text,
- const char separator) A_WARN_UNUSED;
+void splitToIntSet(std::set<int> &tokens, const std::string &text,
+ const char separator) A_WARN_UNUSED;
std::list<int> splitToIntList(const std::string &text,
const char separator) A_WARN_UNUSED;