Renamed two debug categories

This commit is contained in:
John Wiegley 2009-11-02 01:21:35 -05:00
parent c0fe2b5300
commit aef7510f19

View file

@ -232,13 +232,13 @@ public:
private: private:
void acquire() const { void acquire() const {
DEBUG("ledger.xpath.memory", DEBUG("op.memory",
"Acquiring " << this << ", refc now " << refc + 1); "Acquiring " << this << ", refc now " << refc + 1);
assert(refc >= 0); assert(refc >= 0);
refc++; refc++;
} }
void release() const { void release() const {
DEBUG("ledger.xpath.memory", DEBUG("op.memory",
"Releasing " << this << ", refc now " << refc - 1); "Releasing " << this << ", refc now " << refc - 1);
assert(refc > 0); assert(refc > 0);
if (--refc == 0) if (--refc == 0)