aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/config.cc')
-rw-r--r--src/libutil/config.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc
index 38d406e8a..8672edaa8 100644
--- a/src/libutil/config.cc
+++ b/src/libutil/config.cc
@@ -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);
}