diff options
author | ELIPTUS <eliptus+git@gmail.com> | 2014-11-12 22:51:56 -0800 |
---|---|---|
committer | ELIPTUS <eliptus+git@gmail.com> | 2014-11-12 22:51:56 -0800 |
commit | af571c104790b0703d94b0f94b949041cf4f5c1d (patch) | |
tree | 43d0d7024aeb3d0f9327307f420acd9b5c182b32 /src/py_balance.cc | |
parent | a3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71 (diff) | |
download | fork-ledger-af571c104790b0703d94b0f94b949041cf4f5c1d.tar.gz fork-ledger-af571c104790b0703d94b0f94b949041cf4f5c1d.tar.bz2 fork-ledger-af571c104790b0703d94b0f94b949041cf4f5c1d.zip |
Improve Embedded Python Support
Discussion:
https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r-- | src/py_balance.cc | 2 |
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); } |