summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index e2a4a839..8f89d081 100644
--- a/src/option.h
+++ b/src/option.h
@@ -209,10 +209,12 @@ public:
#define CTOR(type, name) \
name ## option_t() : option_t<type>(#name)
+#define CTOR_(type, name, base) \
+ name ## option_t() : option_t<type>(#name), base
#define DECL1(type, name, vartype, var, value) \
vartype var ; \
name ## option_t() : option_t<type>(#name), var(value)
-
+
#define DO() virtual void handler_thunk(call_scope_t&)
#define DO_(var) virtual void handler_thunk(call_scope_t& var)