From 72fb2a7edc169fa480f3a3d8da5a9fd263868491 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 May 2017 16:08:48 +0200 Subject: Fix build on gcc 4.9 http://hydra.nixos.org/build/52408843 --- src/libutil/config.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libutil/config.hh') 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 _settings; -- cgit v1.2.3