From 1a89a5fc92f9e1d10b5e298c67d14e8614068742 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 25 Feb 2010 11:52:04 +0000 Subject: (svn r19247) -Codechange: Rename methods to fit better to common style (skidd13) --- src/pathfinder/yapf/nodelist.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pathfinder/yapf') diff --git a/src/pathfinder/yapf/nodelist.hpp b/src/pathfinder/yapf/nodelist.hpp index 6ac3b944c..87b262897 100644 --- a/src/pathfinder/yapf/nodelist.hpp +++ b/src/pathfinder/yapf/nodelist.hpp @@ -93,7 +93,7 @@ public: { assert(m_closed.Find(item.GetKey()) == NULL); m_open.Push(item); - m_open_queue.Push(&item); + m_open_queue.Include(&item); if (&item == m_new_node) { m_new_node = NULL; } @@ -130,8 +130,8 @@ public: FORCEINLINE Titem_& PopOpenNode(const Key& key) { Titem_& item = m_open.Pop(key); - int idxPop = m_open_queue.FindLinear(item); - m_open_queue.RemoveByIdx(idxPop); + uint idxPop = m_open_queue.FindIndex(item); + m_open_queue.Remove(idxPop); return item; } -- cgit v1.2.3-54-g00ecf