From af571c104790b0703d94b0f94b949041cf4f5c1d Mon Sep 17 00:00:00 2001 From: ELIPTUS Date: Wed, 12 Nov 2014 22:51:56 -0800 Subject: Improve Embedded Python Support Discussion: https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ --- src/py_balance.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/py_balance.cc') 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 py_commodity_amount_1(const balance_t& balance, - const boost::optional& commodity) { + const commodity_t& commodity) { return balance.commodity_amount(commodity); } -- cgit v1.2.3