diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-03 16:08:48 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-03 16:08:48 +0200 |
commit | 72fb2a7edc169fa480f3a3d8da5a9fd263868491 (patch) | |
tree | e45ae2e31286910f02ba08c6bb61e11805c8cc9c /src/libutil/config.hh | |
parent | 08355643ab2811256b8d78265757d9aab216b38e (diff) |
Fix build on gcc 4.9
http://hydra.nixos.org/build/52408843
Diffstat (limited to 'src/libutil/config.hh')
-rw-r--r-- | src/libutil/config.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libutil/config.hh b/src/libutil/config.hh index 919621091..77620d47d 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; |