From 2c962548e52e6334db0c2457eedb40710b23bbad Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 29 Aug 2010 13:38:43 +0000 Subject: (svn r20685) -Codechange: Make BinaryHeap_Clear() a method. --- src/pathfinder/npf/aystar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pathfinder/npf/aystar.cpp') diff --git a/src/pathfinder/npf/aystar.cpp b/src/pathfinder/npf/aystar.cpp index cfca30a75..8e02476a4 100644 --- a/src/pathfinder/npf/aystar.cpp +++ b/src/pathfinder/npf/aystar.cpp @@ -221,7 +221,7 @@ void AyStarMain_Clear(AyStar *aystar) { /* Clean the Queue, but not the elements within. That will be done by * the hash. */ - aystar->OpenListQueue.clear(&aystar->OpenListQueue, false); + aystar->OpenListQueue.Clear(false); /* Clean the hashes */ clear_Hash(&aystar->OpenListHash, true); clear_Hash(&aystar->ClosedListHash, true); -- cgit v1.2.3-54-g00ecf