summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-05-23 10:03:29 +0000
committerCarl Hetherington <carl@carlh.net>2011-05-23 10:03:29 +0000
commited2a7c380d164223d89d5ab78bd7d473b65daef5 (patch)
tree186cb17bf7b57061864589e8e2d5022329b7f1f7 /libs
parent32df6209384bf99a04b2e1e227e325700bc45eed (diff)
Fix bit rot with boost shared_ptr debugging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@9572 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_state.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 02aee5d3ef..02d3407417 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -566,7 +566,7 @@ Session::create (const string& mix_template, BusProfile* bus_profile)
return -1;
}
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
- boost_debug_shared_ptr_mark_interesting (rt.get(), "Route");
+ boost_debug_shared_ptr_mark_interesting (r.get(), "Route");
#endif
{
Glib::Mutex::Lock lm (AudioEngine::instance()->process_lock ());
@@ -583,7 +583,7 @@ Session::create (const string& mix_template, BusProfile* bus_profile)
return -1;
}
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
- boost_debug_shared_ptr_mark_interesting (rt, "Route");
+ boost_debug_shared_ptr_mark_interesting (r.get(), "Route");
#endif
{
Glib::Mutex::Lock lm (AudioEngine::instance()->process_lock ());
@@ -1578,7 +1578,7 @@ Session::XMLRouteFactory_2X (const XMLNode& node, int version)
if (r->init () == 0 && r->set_state (node, version) == 0) {
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
- boost_debug_shared_ptr_mark_interesting (rt, "Route");
+ boost_debug_shared_ptr_mark_interesting (r.get(), "Route");
#endif
ret = r;
}