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