From 3bf4e26b1319295532bb4396cbd6406d85cbcae0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Mar 2012 03:51:37 +0300 Subject: Replace vectors with strings to short names. --- src/utils/stringutils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils/stringutils.h') diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 31ee6d51f..9fdc0d2f6 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -23,11 +23,11 @@ #ifndef UTILS_STRINGUTILS_H #define UTILS_STRINGUTILS_H -#include +#include "utils/stringvector.h" + #include #include #include -#include /** * Trims spaces off the end and the beginning of the given string. @@ -136,7 +136,7 @@ bool isWordSeparator(char chr); unsigned long findI(std::string str, std::string subStr); -unsigned long findI(std::string text, std::vector &list); +unsigned long findI(std::string text, StringVect &list); const std::string encodeStr(unsigned int value, unsigned int size = 0); @@ -179,7 +179,7 @@ std::list splitToIntList(const std::string &text, char separator); std::list splitToStringList(const std::string &text, char separator); -void splitToStringVector(std::vector &tokens, +void splitToStringVector(StringVect &tokens, const std::string &text, char separator); std::string combineDye(std::string file, std::string dye); -- cgit v1.2.3-70-g09d2