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;
|
return true;
|
||||||
}
|
}
|
||||||
void EraseAll() {
|
void EraseAll() {
|
||||||
|
if(table.size() > 0)
|
||||||
table.clear();
|
table.clear();
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user