From a1e0dc13df3cdc7033c940f0f3311a2bd47d3b2e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 11 Feb 2010 23:10:29 +0000 Subject: tweak Stateful/StatefulDiffCommand changes so that SessionObject's actually get a name; make StatefulDiffCommand use a weak_ptr, not a raw ptr; use .val() rather than .get() to avoid confusion with boost:: smart ptr method of the same name git-svn-id: svn://localhost/ardour2/branches/3.0@6678 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/session_object.h') diff --git a/libs/ardour/ardour/session_object.h b/libs/ardour/ardour/session_object.h index cf9ccbb3a7..069badcb6a 100644 --- a/libs/ardour/ardour/session_object.h +++ b/libs/ardour/ardour/session_object.h @@ -41,7 +41,7 @@ class SessionObject : public SessionHandleRef, public PBD::StatefulDestructible public: SessionObject (Session& session, const std::string& name) : SessionHandleRef (session) - , _name (X_("name"), PBD::Change (0), "") + , _name (X_("name"), PBD::Change (0), name) { add_state (_name); } -- cgit v1.2.3