diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 13c4c443dc..af8421e5d9 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -308,7 +308,7 @@ std::vector GameFile::GetLanguages() const { std::vector languages; // TODO: What if some languages don't have long names but have other strings? - for (std::pair name : m_long_names) + for (const auto& name : m_long_names) languages.push_back(name.first); return languages; }