forked from lix-project/lix
Fix broken move
This commit is contained in:
parent
5442d9b472
commit
add066cc7b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue