Added sanity check for the case when empty table was cleared.

This commit is contained in:
Dennis Luxen 2011-03-11 12:59:55 +00:00
parent d2c532e4d5
commit 6a3fe6edeb

View File

@ -52,6 +52,7 @@ public:
return true; return true;
} }
void EraseAll() { void EraseAll() {
if(table.size() > 0)
table.clear(); table.clear();
} }
private: private: