From 76886a84c8c197a1f46f711e15569b6991e5555a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Jun 2013 23:28:47 +0300 Subject: improve function for splitting string to ints. --- src/utils/stringutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/stringutils.h') 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 splitToIntSet(const std::string &text, - const char separator) A_WARN_UNUSED; +void splitToIntSet(std::set &tokens, const std::string &text, + const char separator) A_WARN_UNUSED; std::list splitToIntList(const std::string &text, const char separator) A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2