diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-13 20:42:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-13 20:42:50 +0000 |
commit | 49ff05eda05f4f06eda3b6a2a6b116005db42e57 (patch) | |
tree | 8848b18fe92ee26e0c6a40e61d3436c4c8d9979a /game/network/routeWalker.h | |
parent | Simplified TestLink extending LinkStraight (diff) | |
download | ilt-49ff05eda05f4f06eda3b6a2a6b116005db42e57.tar.bz2 ilt-49ff05eda05f4f06eda3b6a2a6b116005db42e57.tar.xz ilt-49ff05eda05f4f06eda3b6a2a6b116005db42e57.zip |
Route Walker returns Link::Nexts, not vector links
This makes more sense when you realise that the existing navigation
workings work on exactly the same type!
Diffstat (limited to 'game/network/routeWalker.h')
-rw-r--r-- | game/network/routeWalker.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/game/network/routeWalker.h b/game/network/routeWalker.h index 7b1e1c8..d70103f 100644 --- a/game/network/routeWalker.h +++ b/game/network/routeWalker.h @@ -3,11 +3,10 @@ #include "link.h" #include <set> -#include <vector> class RouteWalker { public: - using Solution = std::vector<LinkWPtr>; + using Solution = Link::Nexts; RouteWalker(); |