diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-30 08:24:37 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:34 -0400 |
commit | 3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba (patch) | |
tree | dc04c7feaeab4ce255f4f74d47325f4efb9f8314 /src/value.cc | |
parent | 83fc097062c3380091556c6a4b703d28821d5464 (diff) | |
download | ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.tar.gz ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.tar.bz2 ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.zip |
Changed some of the logging macro names.
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/value.cc b/src/value.cc index 914a49e2..a8b4eab0 100644 --- a/src/value.cc +++ b/src/value.cc @@ -130,7 +130,7 @@ void value_t::destroy() void value_t::simplify() { if (realzero()) { - DEBUG_("amounts.values.simplify", "Zeroing type " << type); + DEBUG("amounts.values.simplify", "Zeroing type " << type); *this = 0L; return; } @@ -138,19 +138,19 @@ void value_t::simplify() if (type == BALANCE_PAIR && (! ((balance_pair_t *) data)->cost || ((balance_pair_t *) data)->cost->realzero())) { - DEBUG_("amounts.values.simplify", "Reducing balance pair to balance"); + DEBUG("amounts.values.simplify", "Reducing balance pair to balance"); in_place_cast(BALANCE); } if (type == BALANCE && ((balance_t *) data)->amounts.size() == 1) { - DEBUG_("amounts.values.simplify", "Reducing balance to amount"); + DEBUG("amounts.values.simplify", "Reducing balance to amount"); in_place_cast(AMOUNT); } if (type == AMOUNT && ! ((amount_t *) data)->commodity()) { - DEBUG_("amounts.values.simplify", "Reducing amount to integer"); + DEBUG("amounts.values.simplify", "Reducing amount to integer"); in_place_cast(INTEGER); } } |