[Fix] Changed typename to class in template paremeter list.

This commit is contained in:
Rtch90 2012-02-03 15:15:54 +00:00
parent 86c102f3d2
commit fa83500d15

View File

@ -1,23 +1,28 @@
#include "Pathfinding.h" #include "Pathfinding.h"
template<typename UserState> template<class UserState>
AStarSearch<UserState>::AStarSearch(void) : AStarSearch<UserState>::AStarSearch(void) :
_state(SEARCH_STATE_NOT_INITIALISED), _state(SEARCH_STATE_NOT_INITIALISED),
_currentSolutionNode(NULL), _currentSolutionNode(NULL),
_allocateNodeCount(0), _allocateNodeCount(0),
_cancelRequest(false) {} _cancelRequest(false) {}
template<typename UserState> template<class UserState>
AStarSearch<UserState>::~AStarSearch(void) { AStarSearch<UserState>::~AStarSearch(void) {
} }
template<typename UserState> template<class UserState>
void AStarSearch<UserState>::SetStartAndGoalStates(UserState& start, UserState& goal) { void AStarSearch<UserState>::SetStartAndGoalStates(UserState& start, UserState& goal) {
} }
template<typename UserState> template<class UserState>
unsigned int AStarSearch<UserState>::SearchStep(void) { unsigned int AStarSearch<UserState>::SearchStep(void) {
} }
template<class UserState>
bool AStarSearch<UserState>::AddSuccessor(UserState& state) {
}