summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/balance.h b/src/balance.h
index 627c3ac6..e1fa9883 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -179,10 +179,9 @@ public:
return true;
}
- optional<amount_t> amount(const optional<const commodity_t&>& commodity =
- optional<const commodity_t&>()) const;
- optional<balance_t> value(const optional<moment_t>& moment =
- optional<moment_t>()) const;
+ optional<amount_t>
+ amount(const optional<const commodity_t&>& commodity = none) const;
+ optional<balance_t> value(const optional<moment_t>& moment = none) const;
balance_t
strip_annotations(const bool keep_price = amount_t::keep_price,