summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-07-01 14:14:23 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-07-01 14:14:23 -0400
commit746ca1fe6d15528b444f35e6a65d3c93e4976894 (patch)
treeba9ee972ca3e874d06fa8dd53d1bd84bf6c12fd4 /src/amount.cc
parent1c6e7f410b62e7d8289992600d2f5b289a214290 (diff)
downloadfork-ledger-746ca1fe6d15528b444f35e6a65d3c93e4976894.tar.gz
fork-ledger-746ca1fe6d15528b444f35e6a65d3c93e4976894.tar.bz2
fork-ledger-746ca1fe6d15528b444f35e6a65d3c93e4976894.zip
Unify debugging categories
Debugging categories follow the filename, which in this case is singular (rather than plural) "account" and "amount".
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amount.cc b/src/amount.cc
index 7bf4dfc6..5d74c22e 100644
--- a/src/amount.cc
+++ b/src/amount.cc
@@ -301,7 +301,7 @@ void amount_t::_copy(const amount_t& amt)
quantity = new bigint_t(*amt.quantity);
} else {
quantity = amt.quantity;
- DEBUG("amounts.refs",
+ DEBUG("amount.refs",
quantity << " refc++, now " << (quantity->refc + 1));
quantity->refc++;
}
@@ -339,7 +339,7 @@ void amount_t::_release()
{
VERIFY(valid());
- DEBUG("amounts.refs", quantity << " refc--, now " << (quantity->refc - 1));
+ DEBUG("amount.refs", quantity << " refc--, now " << (quantity->refc - 1));
if (--quantity->refc == 0) {
if (quantity->has_flags(BIGINT_BULK_ALLOC))
@@ -928,7 +928,7 @@ void amount_t::annotate(const annotation_t& details)
}
assert(this_base);
- DEBUG("amounts.commodities", "Annotating commodity for amount "
+ DEBUG("amount.commodities", "Annotating commodity for amount "
<< *this << std::endl << details);
if (commodity_t * ann_comm =
@@ -939,7 +939,7 @@ void amount_t::annotate(const annotation_t& details)
assert(false);
#endif
- DEBUG("amounts.commodities", "Annotated amount is " << *this);
+ DEBUG("amount.commodities", "Annotated amount is " << *this);
}
bool amount_t::has_annotation() const