summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-19 10:31:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-21 11:11:51 +0100
commit7ffec3899cf9c2fe14350d72cfd0d1858481b43c (patch)
treec95c1f876c0d111df928534123948ab9d76e0544 /options
parente480306bf3fd8bf603ecc74bdc434e9de924ccb1 (diff)
options: fix MSVC build
C++17 isn't fully supported.
Diffstat (limited to 'options')
-rw-r--r--options/base-value.cpp14
1 files changed, 9 insertions, 5 deletions
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