diff options
Diffstat (limited to 'src/balance.cc')
-rw-r--r-- | src/balance.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/balance.cc b/src/balance.cc index 6952b123..80ddd2e4 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -135,7 +135,7 @@ balance_t::amount(const optional<const commodity_t&>& commodity) const if (i != amounts.end()) return (*i).second; } - return optional<amount_t>(); + return none; } optional<balance_t> |