diff options
author | David Robillard <d@drobilla.net> | 2006-10-21 22:59:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-21 22:59:29 +0000 |
commit | 22e41063d5b0c4c80eab3e3a375b734ca7d76169 (patch) | |
tree | e95cc99ff4e2f12bb41d1fdb0d1abf9525e92416 /libs/pbd | |
parent | fedf3d34f32264ac57c6a222b678dc90f2bb1a88 (diff) |
Merged with trunk R999.
git-svn-id: svn://localhost/ardour2/branches/midi@1000 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/pbd/memento_command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/pbd/pbd/memento_command.h b/libs/pbd/pbd/memento_command.h index 715e9d33e3..d42972d546 100644 --- a/libs/pbd/pbd/memento_command.h +++ b/libs/pbd/pbd/memento_command.h @@ -26,6 +26,7 @@ using std::cerr; using std::endl; #include <pbd/command.h> +#include <pbd/stacktrace.h> #include <pbd/xml++.h> #include <sigc++/slot.h> #include <typeinfo> @@ -36,6 +37,7 @@ using std::endl; */ static void object_death (Command* mc) { + cerr << "\n\n\n---> OBJECT DEATH FIRED FOR " << mc << endl; delete mc; } @@ -53,6 +55,7 @@ class MementoCommand : public Command XMLNode *after ) : obj(object), before(before), after(after) { + cerr << "MC @ " << this << " is a " << typeid (obj_T).name() << endl; obj.GoingAway.connect (sigc::bind (sigc::ptr_fun (object_death), static_cast<Command*>(this))); } |