about summary refs log tree commit diff
path: root/src/libutil/config.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/config.hh')
-rw-r--r--src/libutil/config.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libutil/config.hh b/src/libutil/config.hh
index 91962109100d..77620d47d371 100644
--- a/src/libutil/config.hh
+++ b/src/libutil/config.hh
@@ -33,8 +33,11 @@ class Config
 
     struct SettingData
     {
-        bool isAlias = false;
+        bool isAlias;
         AbstractSetting * setting;
+        SettingData(bool isAlias, AbstractSetting * setting)
+            : isAlias(isAlias), setting(setting)
+        { }
     };
 
     std::map<std::string, SettingData> _settings;