Fix util::make_pathfinder
This commit is contained in:
parent
63f576aee5
commit
e83df0d965
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ namespace psemek::util
|
||||||
template <typename Cost, typename Node, typename NeighboursFn, typename HeuristicFn>
|
template <typename Cost, typename Node, typename NeighboursFn, typename HeuristicFn>
|
||||||
auto make_pathfinder(NeighboursFn && node_neighbours, HeuristicFn && heuristic)
|
auto make_pathfinder(NeighboursFn && node_neighbours, HeuristicFn && heuristic)
|
||||||
{
|
{
|
||||||
return pathfinder<Cost, Node, NeighboursFn, HeuristicFn, decltype(util::nop)>(std::forward<NeighboursFn>(node_neighbours), std::forward<HeuristicFn>(heuristic), util::nop);
|
return make_pathfinder<Cost, Node>(std::forward<NeighboursFn>(node_neighbours), std::forward<HeuristicFn>(heuristic), util::nop);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Cost, typename Node, typename NeighboursFn, typename HeuristicFn>
|
template <typename Cost, typename Node, typename NeighboursFn, typename HeuristicFn>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue