diff options
Diffstat (limited to 'src/balance.cc')
-rw-r--r-- | src/balance.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/balance.cc b/src/balance.cc index 92a6c767..b8009607 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -81,7 +81,7 @@ balance_t& balance_t::operator-=(const amount_t& amt) if (i->second.is_realzero()) amounts.erase(i); } else { - amounts.insert(amounts_map::value_type(&amt.commodity(), amt.negate())); + amounts.insert(amounts_map::value_type(&amt.commodity(), amt.negated())); } return *this; } |