From eb9af366e9561204de69d97b8edd077dc6dc7add Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 25 Apr 2013 14:13:04 +0300 Subject: [PATCH] One more endpoint mask cleanup --- source/libr2c2/route.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/libr2c2/route.cpp b/source/libr2c2/route.cpp index 795ae32..77c4f92 100644 --- a/source/libr2c2/route.cpp +++ b/source/libr2c2/route.cpp @@ -83,9 +83,9 @@ list dijkstra(const TrackIter &from, const Pred &goal) break; } - unsigned paths = lowest.track.endpoint().paths; - for(unsigned i=0; paths>>i; ++i) - if(paths&(1<>i; ++i) + if(ep.has_path(i)) { TrackIter next = lowest.track.next(i); if(!next) -- 2.45.2