X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Flibr2c2%2Froute.cpp;h=6809c0ad7fcd13379ca42a29070f3d0ee3160b3e;hb=7e27b311e33beda1746eb63e0945633f262427f6;hp=4f7e778441bdf2e03aa9b12cfeb9b96e677cdaf5;hpb=2abb7008a1e2b93b77742693becf6fe0b8567d6e;p=r2c2.git diff --git a/source/libr2c2/route.cpp b/source/libr2c2/route.cpp index 4f7e778..6809c0a 100644 --- a/source/libr2c2/route.cpp +++ b/source/libr2c2/route.cpp @@ -12,6 +12,7 @@ Distributed under the GPL #include "track.h" #include "trackiter.h" #include "tracktype.h" +#include "zone.h" using namespace std; using namespace Msp; @@ -404,6 +405,11 @@ Route *Route::find(const TrackIter &from, const Route &to) return create_route(from, TrackInSet(to.get_tracks())); } +Route *Route::find(const TrackIter &from, const Zone &to) +{ + return create_route(from, TrackInSet(to.get_tracks())); +} + Route *Route::find(const TrackIter &from, const set &to) { return create_route(from, TrackInSet(to));