summaryrefslogtreecommitdiff
path: root/src/py_balance.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-11-15 17:38:37 -0600
committerJohn Wiegley <johnw@newartisans.com>2014-11-15 17:38:37 -0600
commit4dbc822f90e4f8c3a2842846ba6b7b4695fe1d21 (patch)
tree42a463041676452817b09240e42a327b4a560d4a /src/py_balance.cc
parent312b7ffa72787762de630bd750efd35f65d11c8d (diff)
parentaf571c104790b0703d94b0f94b949041cf4f5c1d (diff)
downloadfork-ledger-4dbc822f90e4f8c3a2842846ba6b7b4695fe1d21.tar.gz
fork-ledger-4dbc822f90e4f8c3a2842846ba6b7b4695fe1d21.tar.bz2
fork-ledger-4dbc822f90e4f8c3a2842846ba6b7b4695fe1d21.zip
Merge pull request #330 from eliptus/feature/embedded-python
Improve Embedded Python Support
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);
}