summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r--src/py_balance.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_balance.cc b/src/py_balance.cc
index 8bf30050..dec08a51 100644
--- a/src/py_balance.cc
+++ b/src/py_balance.cc
@@ -64,7 +64,7 @@ namespace {
boost::optional<amount_t>
py_commodity_amount_1(const balance_t& balance,
- const boost::optional<const commodity_t&>& commodity) {
+ const commodity_t& commodity) {
return balance.commodity_amount(commodity);
}