(svn r20685) -Codechange: Make BinaryHeap_Clear() a method.

This commit is contained in:
alberth
2010-08-29 13:38:43 +00:00
parent a64a9a4260
commit 78bc37c9ec
3 changed files with 18 additions and 22 deletions

View File

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