summaryrefslogtreecommitdiff
path: root/test/unit/context/cdmap_white.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/context/cdmap_white.h')
-rw-r--r--test/unit/context/cdmap_white.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/test/unit/context/cdmap_white.h b/test/unit/context/cdmap_white.h
index 232eb55a8..0f111cd61 100644
--- a/test/unit/context/cdmap_white.h
+++ b/test/unit/context/cdmap_white.h
@@ -27,17 +27,13 @@ class CDMapWhite : public CxxTest::TestSuite {
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 testUnreachableSaveAndRestore() {
+ void testUnreachableSaveAndRestore()
+ {
CDHashMap<int, int> map(d_context);
TS_ASSERT_THROWS_NOTHING(map.makeCurrent());
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback