(svn r19247) -Codechange: Rename methods to fit better to common style (skidd13)

This commit is contained in:
yexo
2010-02-25 11:52:04 +00:00
parent 433e1d884c
commit 1a89a5fc92
2 changed files with 7 additions and 7 deletions

View File

@@ -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;
}