diff options
author | Tim King <taking@google.com> | 2016-09-01 01:28:02 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2016-09-01 01:28:02 -0700 |
commit | d09bb1889f184de32ceb078a815e016502e24279 (patch) | |
tree | 7dad83af4d6fc6be58a98c940234a99e5254ea94 /src/context/cdchunk_list.h | |
parent | d6b840e521eef52a864f51fa18d6e86a6bf34f4a (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/cdchunk_list.h')
-rw-r--r-- | src/context/cdchunk_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context/cdchunk_list.h b/src/context/cdchunk_list.h index 3fa3c6b5d..e75f4de4d 100644 --- a/src/context/cdchunk_list.h +++ b/src/context/cdchunk_list.h @@ -137,7 +137,7 @@ protected: d_size(size), d_sizeAlloc(sizeAlloc) { } - ~CDChunkListSave() throw() { + ~CDChunkListSave() { this->destroy(); } ContextObj* save(ContextMemoryManager* pCMM) { @@ -322,7 +322,7 @@ public: /** * Destructor: delete the list */ - ~CDChunkList() throw(AssertionException) { + ~CDChunkList() { this->destroy(); if(this->d_callDestructor) { |