Adding Scope::drop() method to clean the whole scope.

This commit is contained in:
Stefano Sanfilippo 2015-03-06 14:30:16 +01:00
parent b7be4dc37f
commit dc017b3285

View File

@ -38,6 +38,10 @@ public:
}
}
void drop() {
tables.clear();
}
private:
std::vector<std::unordered_map<Key, Value>> tables;
};