summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 098cff6e..c45ecd30 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -269,7 +269,7 @@ void Profile::createTweakedIniFile()
return;
}
- for (auto& [priority, index] : m_ModIndexByPriority) {
+ for (const auto& [priority, index] : m_ModIndexByPriority) {
if (m_ModStatus[index].m_Enabled) {
ModInfo::Ptr modInfo = ModInfo::getByIndex(index);
mergeTweaks(modInfo, tweakedIni);