summaryrefslogtreecommitdiff
path: root/test/unit/context
diff options
context:
space:
mode:
authorTim King <tim.king@imag.fr>2015-04-27 13:15:03 +0200
committerTim King <tim.king@imag.fr>2015-04-27 13:15:03 +0200
commite8a1bd1b7b7e86a7d1ac1acf61c1e09843d7972e (patch)
tree59eeba2222c480802f3ef2d4ff280245c3347e0a /test/unit/context
parentf07e8a3f06feb789692ede8ad9d25a2e049af769 (diff)
Updating failing unit tests.
Diffstat (limited to 'test/unit/context')
-rw-r--r--test/unit/context/context_black.h4
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();
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback