diff options
Diffstat (limited to 'cpp/src/qpid/ExceptionHolder.h')
-rw-r--r-- | cpp/src/qpid/ExceptionHolder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/ExceptionHolder.h b/cpp/src/qpid/ExceptionHolder.h index c2deca803e..2ce3f5ab9e 100644 --- a/cpp/src/qpid/ExceptionHolder.h +++ b/cpp/src/qpid/ExceptionHolder.h @@ -47,6 +47,8 @@ class ExceptionHolder : public Exception, public boost::shared_ptr<Exception> ExceptionHolder(const Exception& e) throw() : shared_ptr(e.clone()) {} ExceptionHolder(const std::exception& e); + ~ExceptionHolder() throw() {} + const char* what() const throw() { return (*this)->what(); } std::string toString() const throw() { return (*this)->toString(); } virtual Exception* clone() const throw() { return (*this)->clone(); } |