diff options
Diffstat (limited to 'libs/ardour/session_handle.cc')
-rw-r--r-- | libs/ardour/session_handle.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/session_handle.cc b/libs/ardour/session_handle.cc index f36fff4785..98906e3493 100644 --- a/libs/ardour/session_handle.cc +++ b/libs/ardour/session_handle.cc @@ -31,12 +31,12 @@ using namespace ARDOUR; using namespace PBD; SessionHandlePtr::SessionHandlePtr (Session* s) - : _session (s) + : _session (s) { if (_session) { _session->DropReferences.connect_same_thread (_session_connections, boost::bind (&SessionHandlePtr::session_going_away, this)); } -} +} void SessionHandlePtr::set_session (Session* s) @@ -63,11 +63,11 @@ SessionHandlePtr::session_going_away () SessionHandleRef::SessionHandleRef (Session& s) - : _session (s) + : _session (s) { _session.DropReferences.connect_same_thread (*this, boost::bind (&SessionHandleRef::session_going_away, this)); _session.Destroyed.connect_same_thread (*this, boost::bind (&SessionHandleRef::insanity_check, this)); -} +} SessionHandleRef::~SessionHandleRef () { |