diff options
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); } } } |