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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 05f1bf7b..59a3f17d 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -194,7 +194,7 @@ bool getBoolFromString(const std::string &text, bool def)
std::string autocomplete(std::vector<std::string> &candidates,
std::string base)
{
- std::vector<std::string>::iterator i = candidates.begin();
+ auto i = candidates.begin();
toLower(base);
std::string newName("");