(svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
||||
if (bFound) {
|
||||
// path was found
|
||||
// walk through the path back to the origin
|
||||
Node* pNode = &pf.GetBestNode();
|
||||
Node* pNode = pf.GetBestNode();
|
||||
Node* pPrevNode = NULL;
|
||||
while (pNode->m_parent != NULL) {
|
||||
pPrevNode = pNode;
|
||||
|
Reference in New Issue
Block a user