diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-10 15:48:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-10 15:48:22 +0300 |
commit | 13670eefeb4b256c20b603a845eb89f5221a32e5 (patch) | |
tree | 7a49048dd2693284789a23dd2a97aaa593b0ae5c /src/utils/stringutils.cpp | |
parent | 99c02724d193dbd6219c4ce036c43795d6562047 (diff) | |
download | mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.gz mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.bz2 mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.xz mv-13670eefeb4b256c20b603a845eb89f5221a32e5.zip |
Change empty strings initializations.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index efe5f9efb..6c50d4019 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -465,7 +465,7 @@ std::string combineDye2(std::string file, std::string dye) if (pos != std::string::npos) { std::string dye1 = file.substr(pos + 1); - std::string str = ""; + std::string str(""); file = file.substr(0, pos); std::list<std::string> list1 = splitToStringList(dye1, ';'); std::list<std::string> list2 = splitToStringList(dye, ';'); @@ -505,7 +505,7 @@ std::vector<std::string> getLang() std::string packList(std::list<std::string> &list) { std::list<std::string>::const_iterator i = list.begin(); - std::string str = ""; + std::string str(""); while (i != list.end()) { str = str + (*i) + "|"; |