libutil: cleanup abstract-config.{cc,hh} a little
Change-Id: I472682ece81718c63cb7c9053b6249836a6a6964
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user