From e8a1bd1b7b7e86a7d1ac1acf61c1e09843d7972e Mon Sep 17 00:00:00 2001 From: Tim King Date: Mon, 27 Apr 2015 13:15:03 +0200 Subject: [PATCH] Updating failing unit tests. --- test/unit/context/context_black.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/context/context_black.h b/test/unit/context/context_black.h index 494db312c..f72cc05f4 100644 --- a/test/unit/context/context_black.h +++ b/test/unit/context/context_black.h @@ -34,6 +34,8 @@ struct MyContextNotifyObj : public ContextNotifyObj { ContextNotifyObj(context, pre), nCalls(0) { } + + virtual ~MyContextNotifyObj() throw(AssertionException) {} void contextNotifyPop() { ++nCalls; @@ -71,7 +73,7 @@ public: nSaves(0) { } - ~MyContextObj() { + virtual ~MyContextObj() throw(AssertionException) { destroy(); } -- 2.30.2