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)