Reset the number of entries in a dict when calling Clear()

This commit is contained in:
Tim Wojtulewicz 2020-02-11 20:29:06 -05:00
parent a69463ac46
commit 1e499b0831

View file

@ -206,6 +206,7 @@ void Dictionary::Clear()
DeInit();
tbl = nullptr;
tbl2 = nullptr;
num_entries = 0;
}
void Dictionary::DeInit()