From 4d7f04636758d39a3ef7250cbcc745edb3de7685 Mon Sep 17 00:00:00 2001 From: Steven Shaw Date: Thu, 30 Nov 2006 14:18:03 +0000 Subject: Changes for building on RHEL3. Also bundle debug and release libs git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480934 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/ExceptionHolder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid') 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 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(); } -- cgit v1.2.1