]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/trackiter.cpp
Move Endpoint inside TrackType
[r2c2.git] / source / libmarklin / trackiter.cpp
index e8b327b0a245fd20ef1565960228d5c45de36f0e..6ee7231f924ebc9ab953f22c6ca922db81d010e4 100644 (file)
@@ -30,7 +30,7 @@ TrackIter::TrackIter(Track *t, unsigned e):
 
 int TrackIter::get_exit(unsigned path) const
 {
-       const vector<Endpoint> &eps = _track->get_type().get_endpoints();
+       const vector<TrackType::Endpoint> &eps = _track->get_type().get_endpoints();
        
        // Find an endpoint that's connected to the entry and has the requested path
        for(unsigned i=0; i<eps.size(); ++i)