summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
authorELIPTUS <eliptus+git@gmail.com>2014-11-12 22:51:56 -0800
committerELIPTUS <eliptus+git@gmail.com>2014-11-12 22:51:56 -0800
commitaf571c104790b0703d94b0f94b949041cf4f5c1d (patch)
tree43d0d7024aeb3d0f9327307f420acd9b5c182b32 /src/py_balance.cc
parenta3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71 (diff)
downloadfork-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.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);
}