diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-07 16:02:08 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-07 17:40:20 -0600 |
commit | df89fc9bbaf8131d0fe2062cb117294e1c10305f (patch) | |
tree | 89c315c9d0ce5857b125ea379b86c4678fe00464 /libs/ardour/ardour | |
parent | 490fac163211d71ca640da1d072de888f380e643 (diff) |
fix definition of templateed foreach_track() methods
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session_route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session_route.h b/libs/ardour/ardour/session_route.h index fe5f7ad8c0..6c038cf5e1 100644 --- a/libs/ardour/ardour/session_route.h +++ b/libs/ardour/ardour/session_route.h @@ -85,7 +85,7 @@ Session::foreach_track (void (Track::*method)(A), A arg) for (RouteList::iterator i = r->begin(); i != r->end(); i++) { boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (*i); if (tr) { - (tr->*method) (arg); + (tr.get()->*method) (arg); } } } @@ -98,7 +98,7 @@ Session::foreach_track (void (Track::*method)(A1, A2), A1 arg1, A2 arg2) for (RouteList::iterator i = r->begin(); i != r->end(); i++) { boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (*i); if (tr) { - (tr->*method) (arg1, arg2); + (tr.get()->*method) (arg1, arg2); } } } |