Write the topologically sorted route list back to the session's list so that the...
authorCarl Hetherington <carl@carlh.net>
Tue, 19 Jun 2012 15:51:56 +0000 (15:51 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 19 Jun 2012 15:51:56 +0000 (15:51 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12784 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session.cc

index b95b8d304efb5c259b4ca46fd4fff83d9be57863..72c2a8654f9dfd86004caf8dac8fe837606747ba 100644 (file)
@@ -1485,7 +1485,7 @@ Session::resort_routes_using (boost::shared_ptr<RouteList> r)
                        trace_terminal (*i, *i);
                }
 
-               r = sorted_routes;
+               *r = *sorted_routes;
 
 #ifndef NDEBUG
                DEBUG_TRACE (DEBUG::Graph, "Routes resorted, order follows:\n");