diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-19 21:53:02 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-19 22:24:24 -0500 |
commit | 4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2 (patch) | |
tree | e4bce67522d52cd7be03544501191d761dce7799 /src/balance.cc | |
parent | 6e31328bd62d15e8da4238394abd8de65539cfa2 (diff) | |
download | fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.tar.gz fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.tar.bz2 fork-ledger-4e30fcdf4094a0c450cbe1918c2e12dd19eb58f2.zip |
Many improvements to Ledger's Python bindings
Diffstat (limited to 'src/balance.cc')
-rw-r--r-- | src/balance.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/balance.cc b/src/balance.cc index 59eb4d92..4ff51ffc 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -43,21 +43,21 @@ balance_t::balance_t(const double val) { TRACE_CTOR(balance_t, "const double"); amounts.insert - (amounts_map::value_type(amount_t::current_pool->null_commodity, val)); + (amounts_map::value_type(commodity_pool_t::current_pool->null_commodity, val)); } balance_t::balance_t(const unsigned long val) { TRACE_CTOR(balance_t, "const unsigned long"); amounts.insert - (amounts_map::value_type(amount_t::current_pool->null_commodity, val)); + (amounts_map::value_type(commodity_pool_t::current_pool->null_commodity, val)); } balance_t::balance_t(const long val) { TRACE_CTOR(balance_t, "const long"); amounts.insert - (amounts_map::value_type(amount_t::current_pool->null_commodity, val)); + (amounts_map::value_type(commodity_pool_t::current_pool->null_commodity, val)); } balance_t& balance_t::operator+=(const balance_t& bal) |