summaryrefslogtreecommitdiff
path: root/test/unit/expr/expr_manager_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/expr/expr_manager_public.h')
-rw-r--r--test/unit/expr/expr_manager_public.h20
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;
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback