diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-19 20:26:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-19 20:26:31 +0000 |
commit | aae367b63c9b619db1e40f27dc334c6987219481 (patch) | |
tree | 142f6ffed6bb749e24a06343587cad6b966888bd /libs/ardour/internal_return.cc | |
parent | 67460c2af45d0455e64623572480c064445c2e5b (diff) |
use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/internal_return.cc')
-rw-r--r-- | libs/ardour/internal_return.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/internal_return.cc b/libs/ardour/internal_return.cc index ccee62c988..f42d3c4e80 100644 --- a/libs/ardour/internal_return.cc +++ b/libs/ardour/internal_return.cc @@ -27,20 +27,20 @@ using namespace std; using namespace ARDOUR; -boost::signals2::signal<void(nframes_t)> InternalReturn::CycleStart; +PBD::Signal1<void,nframes_t> InternalReturn::CycleStart; InternalReturn::InternalReturn (Session& s) : Return (s, true) , user_count (0) { - scoped_connect (CycleStart, boost::bind (&InternalReturn::cycle_start, this, _1)); + CycleStart.connect (*this, boost::bind (&InternalReturn::cycle_start, this, _1)); } InternalReturn::InternalReturn (Session& s, const XMLNode& node) : Return (s, node, true) , user_count (0) { - scoped_connect (CycleStart, boost::bind (&InternalReturn::cycle_start, this, _1)); + CycleStart.connect (*this, boost::bind (&InternalReturn::cycle_start, this, _1)); } void |