diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-17 18:24:23 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-17 18:24:23 +0000 |
commit | f6fdd8dcbf41f864e9f0cc32dabe81fe3533ddfe (patch) | |
tree | 5214c580b9e6c17a499fa587660dbf949e892bf2 /libs/ardour/session_command.cc | |
parent | da762129f19c28aff64f833b6ec09fba946faef6 (diff) |
switch to using boost::signals2 instead of sigc++, at least for libardour. not finished yet, but compiles, loads sessions, records and can close a session without a crash
git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_command.cc')
-rw-r--r-- | libs/ardour/session_command.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index 4d733264fb..828af69901 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -43,7 +43,7 @@ using namespace ARDOUR; #include "i18n.h" -void Session::register_with_memento_command_factory(PBD::ID id, PBD::StatefulThingWithGoingAway *ptr) +void Session::register_with_memento_command_factory(PBD::ID id, PBD::StatefulDestructible *ptr) { registry[id] = ptr; } @@ -114,8 +114,8 @@ Session::memento_command_factory(XMLNode *n) if (i != automation_lists.end()) { return new MementoCommand<AutomationList>(*i->second, before, after); } - } else if (registry.count(id)) { // For Editor and AutomationLine which are off-limits here - return new MementoCommand<PBD::StatefulThingWithGoingAway>(*registry[id], before, after); + } else if (registry.count(id)) { // For Editor and AutomationLine which are off-limits herea + return new MementoCommand<PBD::StatefulDestructible>(*registry[id], before, after); } /* we failed */ |