From cc66329d48b2bc28f181e1009c9da297cb3b4d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Dur=C3=A1n=20Carvajal?= Date: Fri, 17 Jan 2020 12:05:02 -0600 Subject: [PATCH] Fix compilation for DMD 2.090 --- src/dlangui/core/settings.d | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/dlangui/core/settings.d b/src/dlangui/core/settings.d index 6f287fd9..ba0f32ff 100644 --- a/src/dlangui/core/settings.d +++ b/src/dlangui/core/settings.d @@ -489,7 +489,7 @@ final class Setting { /// read as string value - @property inout(string) str() inout { + @property string str() { final switch(_type) with(SettingType) { case STRING: return _store.str; @@ -510,7 +510,7 @@ final class Setting { } } /// read as string value - inout(string) strDef(string defValue) inout { + inout (string) strDef(inout (string) defValue) { final switch(_type) with(SettingType) { case STRING: return _store.str; @@ -2313,5 +2313,3 @@ final class Setting { } } } - -