summaryrefslogtreecommitdiffhomepage
path: root/options/value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/value.cpp')
-rw-r--r--options/value.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/options/value.cpp b/options/value.cpp
index f5e92600..36e05dac 100644
--- a/options/value.cpp
+++ b/options/value.cpp
@@ -24,4 +24,12 @@ base_value::~base_value()
b->on_value_destructed(self_name, this);
}
+namespace detail
+{
+ void set_base_value_to_default(base_value* val)
+ {
+ val->set_to_default();
+ }
+}
+
}