From e83df0d96550d19aaaf373311271a15817db99f8 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Sun, 15 Jan 2023 22:41:29 +0300 Subject: [PATCH] Fix util::make_pathfinder --- libs/util/include/psemek/util/find_path.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/util/include/psemek/util/find_path.hpp b/libs/util/include/psemek/util/find_path.hpp index 5236c42f..37bf2b03 100644 --- a/libs/util/include/psemek/util/find_path.hpp +++ b/libs/util/include/psemek/util/find_path.hpp @@ -132,7 +132,7 @@ namespace psemek::util template auto make_pathfinder(NeighboursFn && node_neighbours, HeuristicFn && heuristic) { - return pathfinder(std::forward(node_neighbours), std::forward(heuristic), util::nop); + return make_pathfinder(std::forward(node_neighbours), std::forward(heuristic), util::nop); } template