diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-08-23 16:28:21 -0700 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2018-08-23 16:28:21 -0700 |
commit | 11a34205808098e503f145b2a779078dd509729e (patch) | |
tree | bd4a69d62192273d4de237d8c7252448cef41c95 /test/unit/expr/node_black.h | |
parent | 860ae582f334bea2835806b0d5044ca1b6e90d76 (diff) |
Add missing overrides in unit tests (#2362)
Diffstat (limited to 'test/unit/expr/node_black.h')
-rw-r--r-- | test/unit/expr/node_black.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/unit/expr/node_black.h b/test/unit/expr/node_black.h index fb468c896..461d59498 100644 --- a/test/unit/expr/node_black.h +++ b/test/unit/expr/node_black.h @@ -56,7 +56,8 @@ class NodeBlack : public CxxTest::TestSuite { TypeNode* d_realType; public: - void setUp() { + void setUp() override + { char* argv[2]; argv[0] = strdup(""); argv[1] = strdup("--output-language=ast"); @@ -70,7 +71,8 @@ class NodeBlack : public CxxTest::TestSuite { d_realType = new TypeNode(d_nodeManager->realType()); } - void tearDown() { + void tearDown() override + { delete d_realType; delete d_booleanType; delete d_scope; |