diff options
Diffstat (limited to 'test/unit/expr/expr_manager_public.h')
-rw-r--r-- | test/unit/expr/expr_manager_public.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/unit/expr/expr_manager_public.h b/test/unit/expr/expr_manager_public.h index a131aa140..9c604aa52 100644 --- a/test/unit/expr/expr_manager_public.h +++ b/test/unit/expr/expr_manager_public.h @@ -61,19 +61,19 @@ private: return vars; } + public: + void setUp() override { d_exprManager = new ExprManager; } -public: - void setUp() { - d_exprManager = new ExprManager; - } - - - void tearDown() { - try { + void tearDown() override + { + try + { delete d_exprManager; - } catch(Exception e) { + } + catch (Exception e) + { cerr << "Exception during tearDown():" << endl << e; - throw ; + throw; } } |