Default initialize i_path instead of using NULL
This commit is contained in:
1 parent
2056961aae
commit
2923dd5bad
1 file changed
+1
-1
@@ -37,7 +37,7 @@ template<class T, class P>
|
||||
class PathMovementBase
|
||||
{
|
||||
public:
|
||||
PathMovementBase() : i_path(NULL), i_currentNode(0) { }
|
||||
PathMovementBase() : i_path(), i_currentNode(0) { }
|
||||
virtual ~PathMovementBase() { };
|
||||
|
||||
uint32 GetCurrentNode() const { return i_currentNode; }
|
||||
|
||||
Reference in new issue
Block a user