From fab2d34959c52383f6be3cb6634c6776b41f62a8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 13 Oct 2022 20:27:46 +0100 Subject: Standard typedefs for Node --- game/network/routeWalker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'game/network/routeWalker.cpp') diff --git a/game/network/routeWalker.cpp b/game/network/routeWalker.cpp index d669db2..cdbc879 100644 --- a/game/network/routeWalker.cpp +++ b/game/network/routeWalker.cpp @@ -9,7 +9,7 @@ RouteWalker::RouteWalker() : solutionLength {std::numeric_limits::max()} { } RouteWalker::Solution -RouteWalker::findRouteTo(const Link::End & currentEnd, const NodePtr & dest) +RouteWalker::findRouteTo(const Link::End & currentEnd, const Node::Ptr & dest) { findRouteTo(currentEnd, dest, 0); return bestSolution; @@ -17,7 +17,7 @@ RouteWalker::findRouteTo(const Link::End & currentEnd, const NodePtr & dest) void // NOLINTNEXTLINE(misc-no-recursion) -RouteWalker::findRouteTo(const Link::End & currentEnd, const NodePtr & dest, float length) +RouteWalker::findRouteTo(const Link::End & currentEnd, const Node::Ptr & dest, float length) { if (currentEnd.node == dest && length < solutionLength) { bestSolution = currentSolution; -- cgit v1.2.3