summaryrefslogtreecommitdiff
path: root/src/balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.cc')
-rw-r--r--src/balance.cc2
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>