Add dynamic type to SessionHandleRef debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@8516 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
64abea1db2
commit
dad0671ba0
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pbd/demangle.h"
|
||||||
#include "pbd/error.h"
|
#include "pbd/error.h"
|
||||||
#include "pbd/boost_debug.h"
|
#include "pbd/boost_debug.h"
|
||||||
|
|
||||||
@ -82,5 +83,9 @@ SessionHandleRef::session_going_away ()
|
|||||||
void
|
void
|
||||||
SessionHandleRef::insanity_check ()
|
SessionHandleRef::insanity_check ()
|
||||||
{
|
{
|
||||||
cerr << string_compose (_("programming error: %1"), "SessionHandleRef exists across sesssion deletion!") << endl;
|
cerr << string_compose (
|
||||||
|
_("programming error: %1"),
|
||||||
|
string_compose("SessionHandleRef exists across sesssion deletion! Dynamic type: %1",
|
||||||
|
PBD::demangled_name (*this)))
|
||||||
|
<< endl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user