Fixing a typo (error).
This commit is contained in:
parent
1961f057c1
commit
20a38fc334
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ int yamg_hexheap::test_hex() {
|
|||
Clear all members flag and reset the heap itself
|
||||
*/
|
||||
void yamg_hexheap::clear_heap() {
|
||||
for(int i = 0; i > last_; i++)
|
||||
for(int i = 0; i < last_; i++)
|
||||
table_[i]->done = false;
|
||||
last_ = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue