diff options
author | Tim King <tim.king@imag.fr> | 2015-04-27 13:15:03 +0200 |
---|---|---|
committer | Tim King <tim.king@imag.fr> | 2015-04-27 13:15:03 +0200 |
commit | e8a1bd1b7b7e86a7d1ac1acf61c1e09843d7972e (patch) | |
tree | 59eeba2222c480802f3ef2d4ff280245c3347e0a /test/unit | |
parent | f07e8a3f06feb789692ede8ad9d25a2e049af769 (diff) |
Updating failing unit tests.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/context/context_black.h | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } |