diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-29 15:52:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-29 15:52:38 +0000 |
commit | f871d665d59e3b95f9d47a80e5caead15d9a705b (patch) | |
tree | 65d974f6d179804d4c7c5292b24847ae7b9a4a3a /libs/ardour/panner.cc | |
parent | 70f4ee1b55bdbdc72955c4b813c8d627b116428a (diff) |
tweaks to boost debug related code, from a boost debugging session
git-svn-id: svn://localhost/ardour2/branches/3.0@10336 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/panner.cc')
-rw-r--r-- | libs/ardour/panner.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/panner.cc b/libs/ardour/panner.cc index a182f0b99c..0713e48fe5 100644 --- a/libs/ardour/panner.cc +++ b/libs/ardour/panner.cc @@ -17,6 +17,8 @@ */ +#include "pbd/boost_debug.h" + #include "ardour/audio_buffer.h" #include "ardour/buffer_set.h" #include "ardour/debug.h" @@ -31,13 +33,14 @@ using namespace std; using namespace ARDOUR; Panner::Panner (boost::shared_ptr<Pannable> p) - : _pannable (p) { + // boost_debug_shared_ptr_mark_interesting (this, "panner"); + _pannable = p; } Panner::~Panner () { - DEBUG_TRACE(PBD::DEBUG::Destruction, string_compose ("panner @ %1 destructor, pannable is %2\n", this, _pannable)); + DEBUG_TRACE(PBD::DEBUG::Destruction, string_compose ("panner @ %1 destructor, pannable is %2 @ %3\n", this, _pannable, &_pannable)); } XMLNode& |