summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 953cbf58a..ad2e52965 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -181,11 +181,11 @@ unsigned long findI(std::string str, std::string subStr)
return str.find(subStr);
}
-unsigned long findI(std::string str, std::list<std::string> &list)
+unsigned long findI(std::string str, std::vector<std::string> &list)
{
str = toLower(str);
unsigned long idx;
- for (std::list<std::string>::iterator i = list.begin();
+ for (std::vector<std::string>::iterator i = list.begin();
i != list.end(); ++i)
{
std::string subStr = toLower(*i);