summaryrefslogtreecommitdiff
path: root/libs/ardour/session_events.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-06-12 18:14:09 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-12 18:14:09 -0400
commitcc543280d9869d4a7b800d547c53e38b13d02cea (patch)
treeaa26b29a02fa43ff24e5c9c777cb5294bf67e8e9 /libs/ardour/session_events.cc
parent10643779b6f039a7458bd0c970ef40ac80ea0568 (diff)
We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG mechanism away from a 64bit integer and toward std::bitset.
Clean up a few minor related PBD::DEBUG issues along the way
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r--libs/ardour/session_events.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc
index d41b9c5002..53a26363b0 100644
--- a/libs/ardour/session_events.cc
+++ b/libs/ardour/session_events.cc
@@ -74,11 +74,6 @@ SessionEvent::operator new (size_t)
DEBUG_TRACE (DEBUG::SessionEvents, string_compose ("%1 Allocating SessionEvent from %2 ev @ %3 pool size %4 free %5 used %6\n", pthread_name(), p->name(), ev,
p->total(), p->available(), p->used()));
-#ifndef NDEBUG
- if (DEBUG::SessionEvents & PBD::debug_bits) {
- // stacktrace (cerr, 40);
- }
-#endif
ev->own_pool = p;
return ev;
}
@@ -94,12 +89,6 @@ SessionEvent::operator delete (void *ptr, size_t /*size*/)
pthread_name(), ev, enum_2_string (ev->type), enum_2_string (ev->action), p->name(), ev->own_pool->name(), ev->own_pool->total(), ev->own_pool->available(), ev->own_pool->used()
));
-#ifndef NDEBUG
- if (DEBUG::SessionEvents & PBD::debug_bits) {
- // stacktrace (cerr, 40);
- }
-#endif
-
if (p && p == ev->own_pool) {
p->release (ptr);
} else {