summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/journal.h b/src/journal.h
index 04bb1d5d..51f13f42 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -94,10 +94,10 @@ class transaction_t : public supports_flags<>
data(NULL) {
TRACE_CTOR(transaction_t, "account_t *");
}
- explicit transaction_t(account_t * _account,
- const amount_t& _amount,
- unsigned int _flags = TRANSACTION_NORMAL,
- const optional<string> _note = optional<string>())
+ explicit transaction_t(account_t * _account,
+ const amount_t& _amount,
+ unsigned int _flags = TRANSACTION_NORMAL,
+ const optional<string> _note = none)
: supports_flags<>(_flags),
entry(NULL),
state(UNCLEARED),
@@ -345,7 +345,7 @@ class account_t
account_t(account_t * _parent = NULL,
const string& _name = "",
- const optional<string> _note = optional<string>())
+ const optional<string> _note = none)
: parent(_parent), name(_name), note(_note),
depth(parent ? parent->depth + 1 : 0), data(NULL), ident(0) {
TRACE_CTOR(account_t, "account_t *, const string&, const string&");