diff options
Diffstat (limited to 'test/unit/context/cdo_black.h')
-rw-r--r-- | test/unit/context/cdo_black.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/unit/context/cdo_black.h b/test/unit/context/cdo_black.h index f5666173d..2838ae322 100644 --- a/test/unit/context/cdo_black.h +++ b/test/unit/context/cdo_black.h @@ -33,17 +33,13 @@ private: Context* d_context; -public: + public: + void setUp() override { d_context = new Context; } - void setUp() { - d_context = new Context; - } - - void tearDown() { - delete d_context; - } + void tearDown() override { delete d_context; } - void testIntCDO() { + void testIntCDO() + { // Test that push/pop maintains the original value CDO<int> a1(d_context); a1 = 5; |