From 7ffec3899cf9c2fe14350d72cfd0d1858481b43c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 19 Feb 2018 10:31:09 +0100 Subject: options: fix MSVC build C++17 isn't fully supported. --- options/base-value.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'options/base-value.cpp') diff --git a/options/base-value.cpp b/options/base-value.cpp index 10e2d617..6c287321 100644 --- a/options/base-value.cpp +++ b/options/base-value.cpp @@ -26,10 +26,14 @@ void base_value::store(const QVariant& datum) b->store_kv(self_name, datum); } -namespace ::options::detail { - void set_base_value_to_default(base_value* val) - { - val->set_to_default(); - } +namespace options { +namespace detail { + +void set_base_value_to_default(base_value* val) +{ + val->set_to_default(); +} + } // ns options::detail +} // ns options -- cgit v1.2.3