From dc017b32859eaae33fc11e2c54c37e039525bcfc Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Fri, 6 Mar 2015 14:30:16 +0100 Subject: [PATCH] Adding Scope::drop() method to clean the whole scope. --- Scope.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Scope.hpp b/Scope.hpp index a5a657f..d961fcb 100644 --- a/Scope.hpp +++ b/Scope.hpp @@ -38,6 +38,10 @@ public: } } + void drop() { + tables.clear(); + } + private: std::vector> tables; };