libutil: cleanup abstract-config.{cc,hh} a little

Change-Id: I472682ece81718c63cb7c9053b6249836a6a6964
This commit is contained in:
Qyriad
2026-01-06 16:35:49 +01:00
parent ed16987d47
commit 1ae5610a4e
+2 -2
View File
@@ -123,9 +123,9 @@ void AbstractConfig::warnUnknownSettings()
void AbstractConfig::reapplyUnknownSettings()
{
auto unknownSettings2 = std::move(unknownSettings);
auto const toReapply = std::move(unknownSettings);
unknownSettings = {};
for (auto const & [name, value] : unknownSettings2) {
for (auto const & [name, value] : toReapply) {
set(name, value);
}
}