From bec994865925d2d571f0d5ecd32a6c94bbfd0da9 Mon Sep 17 00:00:00 2001 From: jez Date: Fri, 10 Dec 2010 09:29:10 +0000 Subject: [PATCH] Corrected exception specifier on DOMBadCast destructor --- include/DOM/DOMException.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/DOM/DOMException.hpp b/include/DOM/DOMException.hpp index 1515400d..4f4b086e 100644 --- a/include/DOM/DOMException.hpp +++ b/include/DOM/DOMException.hpp @@ -27,6 +27,10 @@ public: { } // DOMBadCase + virtual ~DOMBadCast() throw() + { + } // DOMBadCast + virtual const char* what() const throw() { return message_.c_str(); @@ -73,6 +77,10 @@ public: { } // DOMException + virtual ~DOMException() throw() + { + } // DOMBadCast + CODE code() const { return code_; } virtual const char* what() const throw()