Fix broken move

This commit is contained in:
Jacek Galowicz 2023-10-16 19:32:47 +01:00
parent 5442d9b472
commit add066cc7b

View file

@ -68,6 +68,7 @@ void AbstractConfig::warnUnknownSettings()
void AbstractConfig::reapplyUnknownSettings()
{
auto unknownSettings2 = std::move(unknownSettings);
unknownSettings = {};
for (auto & s : unknownSettings2)
set(s.first, s.second);
}