diff options
Diffstat (limited to 'test/unit/context/context_mm_black.h')
-rw-r--r-- | test/unit/context/context_mm_black.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/unit/context/context_mm_black.h b/test/unit/context/context_mm_black.h index ed64b5eac..beace137e 100644 --- a/test/unit/context/context_mm_black.h +++ b/test/unit/context/context_mm_black.h @@ -33,13 +33,11 @@ private: ContextMemoryManager* d_cmm; -public: + public: + void setUp() override { d_cmm = new ContextMemoryManager(); } - void setUp() { - d_cmm = new ContextMemoryManager(); - } - - void testPushPop() { + void testPushPop() + { #ifdef CVC4_DEBUG_CONTEXT_MEMORY_MANAGER #warning "Using the debug context memory manager, omitting unit tests" #else @@ -96,7 +94,5 @@ public: #endif /* __CVC4__CONTEXT__CONTEXT_MM_H */ } - void tearDown() { - delete d_cmm; - } + void tearDown() override { delete d_cmm; } }; |