You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Game/stlastar.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -820,7 +820,7 @@ template <class UserState> class AStarSearch
820
820
template <classT> classAStarState
821
821
{
822
822
public:
823
-
~AStarState()override {}
823
+
virtual~AStarState() {}
824
824
virtualfloatGoalDistanceEstimate( T &nodeGoal ) = 0; // Heuristic function which computes the estimated cost to the goal node
825
825
virtualboolIsGoal( T &nodeGoal ) = 0; // Returns true if this node is the goal node
826
826
virtualboolGetSuccessors( AStarSearch<T> *astarsearch, T *parent_node ) = 0; // Retrieves all successors to this node and adds them via astarsearch.addSuccessor()
0 commit comments