about summary refs log tree commit diff
path: root/src/libutil/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/config.cc')
-rw-r--r--src/libutil/config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc
index 497afaa1fed4..f7a46bfee63f 100644
--- a/src/libutil/config.cc
+++ b/src/libutil/config.cc
@@ -15,9 +15,9 @@ void Config::set(const std::string & name, const std::string & value)
 
 void Config::addSetting(AbstractSetting * setting)
 {
-    _settings.emplace(setting->name, Config::SettingData{false, setting});
+    _settings.emplace(setting->name, Config::SettingData(false, setting));
     for (auto & alias : setting->aliases)
-        _settings.emplace(alias, Config::SettingData{true, setting});
+        _settings.emplace(alias, Config::SettingData(true, setting));
 
     bool set = false;