summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 10:35:01 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 10:35:01 -0600
commitbe778e387967e56c711ed66e5aafda2d6d7bbc11 (patch)
treedd848e01abc0d1671aaf2e9e74bec0a5cac599d9 /src/option.h
parent90029d9925f2662c655d72fab1f46ee343765ba7 (diff)
downloadfork-ledger-be778e387967e56c711ed66e5aafda2d6d7bbc11.tar.gz
fork-ledger-be778e387967e56c711ed66e5aafda2d6d7bbc11.tar.bz2
fork-ledger-be778e387967e56c711ed66e5aafda2d6d7bbc11.zip
Changed definition of the DECL1 macro
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index dc1099db..38431f9d 100644
--- a/src/option.h
+++ b/src/option.h
@@ -213,7 +213,7 @@ public:
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)
+ 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)