Added sanity check for the case when empty table was cleared.
This commit is contained in:
parent
d2c532e4d5
commit
6a3fe6edeb
@ -52,6 +52,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
void EraseAll() {
|
||||
if(table.size() > 0)
|
||||
table.clear();
|
||||
}
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user