summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pool.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/pbd/pool.cc b/libs/pbd/pool.cc
index 4cb72fd483..3f61a786fe 100644
--- a/libs/pbd/pool.cc
+++ b/libs/pbd/pool.cc
@@ -62,10 +62,7 @@ Pool::Pool (string n, unsigned long item_size, unsigned long nitems)
Pool::~Pool ()
{
-#ifndef NDEBUG
- // TODO: after collecting some stats, use DEBUG::PoolStats here
- cerr << "Pool: '" << _name << "' max: " << max_usage << " / " << total() << endmsg;
-#endif
+ DEBUG_TRACE (DEBUG::Pool, string_compose ("Pool: '%1' max: %2 / %3", name(), max_usage, total()));
free (block);
}