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 { } } } - -