summaryrefslogtreecommitdiff
path: root/src/context/context.cpp
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-09-01 01:28:02 -0700
committerTim King <taking@google.com>2016-09-01 01:28:02 -0700
commitd09bb1889f184de32ceb078a815e016502e24279 (patch)
tree7dad83af4d6fc6be58a98c940234a99e5254ea94 /src/context/context.cpp
parentd6b840e521eef52a864f51fa18d6e86a6bf34f4a (diff)
Relaxing the throw specifiers for the destructors for Node, TypeNode, the context/ classes, and their subclasses. Fixes compilation issues with clang 3.5 and -std=c++11 'exception specification of overriding function is more lax than base version' for a couple of different classes.
Diffstat (limited to 'src/context/context.cpp')
-rw-r--r--src/context/context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context/context.cpp b/src/context/context.cpp
index 9c0416ce8..8f151ad08 100644
--- a/src/context/context.cpp
+++ b/src/context/context.cpp
@@ -35,7 +35,7 @@ Context::Context() : d_pCNOpre(NULL), d_pCNOpost(NULL) {
}
-Context::~Context() throw(AssertionException) {
+Context::~Context() {
// Delete all Scopes
popto(0);
@@ -306,7 +306,7 @@ ContextNotifyObj::ContextNotifyObj(Context* pContext, bool preNotify) {
}
-ContextNotifyObj::~ContextNotifyObj() throw(AssertionException) {
+ContextNotifyObj::~ContextNotifyObj() {
if(d_pCNOnext != NULL) {
d_pCNOnext->d_ppCNOprev = d_ppCNOprev;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback