show address of dangling SessionHandle-derived objects

git-svn-id: svn://localhost/ardour2/branches/3.0@10320 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-10-27 21:04:45 +00:00
parent 11c1b76121
commit e09504f122

View File

@ -85,7 +85,7 @@ SessionHandleRef::insanity_check ()
{
cerr << string_compose (
_("programming error: %1"),
string_compose("SessionHandleRef exists across sesssion deletion! Dynamic type: %1",
PBD::demangled_name (*this)))
string_compose("SessionHandleRef exists across sesssion deletion! Dynamic type: %1 @ %2",
PBD::demangled_name (*this), this))
<< endl;
}