X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrackiter.cpp;h=c3bb7d4ae5db5e8ab16def585547dfec090cb101;hb=8b7d4054b05002d82338775ac9b4ee764a8560e4;hp=64d223e21cc3ce6142061ab7efc670e3fbd715f5;hpb=32316772d422223827833366a7ee2d0a76d76ff1;p=r2c2.git diff --git a/source/libr2c2/trackiter.cpp b/source/libr2c2/trackiter.cpp index 64d223e..c3bb7d4 100644 --- a/source/libr2c2/trackiter.cpp +++ b/source/libr2c2/trackiter.cpp @@ -70,7 +70,7 @@ int TrackIter::get_exit(unsigned path) const // Find an endpoint that's connected to the entry and has the requested path for(unsigned i=0; iget_link(exit); - result._entry = (result._track ? result._track->get_endpoint_by_link(*_track) : 0); + result._entry = (result._track ? result._track->get_link_slot(*_track) : 0); return result; } @@ -127,7 +127,7 @@ TrackIter TrackIter::flip() const TrackIter result; result._track = _track->get_link(_entry); - result._entry = (result._track ? result._track->get_endpoint_by_link(*_track) : 0); + result._entry = (result._track ? result._track->get_link_slot(*_track) : 0); return result; }