From 1abc0db336655f16fcc584fb8f5521beeb063234 Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 18 Feb 2010 14:23:18 +0000 Subject: (svn r19160) -Codechange: Enlarge a CBinaryHeapT if the heap is full instead of dropping the added item -Fix: CBinaryHeapT::CheckConsistency compared pointers instead of the actual items (skidd13) --- src/pathfinder/yapf/nodelist.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/pathfinder/yapf/nodelist.hpp') diff --git a/src/pathfinder/yapf/nodelist.hpp b/src/pathfinder/yapf/nodelist.hpp index 75b459a54..e88085b61 100644 --- a/src/pathfinder/yapf/nodelist.hpp +++ b/src/pathfinder/yapf/nodelist.hpp @@ -93,8 +93,6 @@ public: { assert(m_closed.Find(item.GetKey()) == NULL); m_open.Push(item); - /* TODO: check if m_open_queue is not full */ - assert(!m_open_queue.IsFull()); m_open_queue.Push(item); if (&item == m_new_node) { m_new_node = NULL; -- cgit v1.2.3-54-g00ecf