Fix warnings

This commit is contained in:
WarmUpTill
2023-01-07 19:24:49 +01:00
committed by WarmUpTill
parent c96c81cf1d
commit fd4476c0b3
4 changed files with 7 additions and 9 deletions

View File

@@ -189,7 +189,7 @@ bool MacroActionRandomEdit::ShouldShowAllowRepeat()
return false;
}
const auto macro = _entryData->_macros[0];
for (const auto m : _entryData->_macros) {
for (const auto &m : _entryData->_macros) {
if (macro.get() != m.get()) {
return true;
}