diff options
Diffstat (limited to 'cpp/src/qpid/QpidError.cpp')
-rw-r--r-- | cpp/src/qpid/QpidError.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/QpidError.cpp b/cpp/src/qpid/QpidError.cpp index 365c84ea1d..fcd5af47a5 100644 --- a/cpp/src/qpid/QpidError.cpp +++ b/cpp/src/qpid/QpidError.cpp @@ -30,7 +30,7 @@ QpidError::QpidError() : code(0) {} QpidError::~QpidError() throw() {} -Exception* QpidError::clone() const throw() { return new QpidError(*this); } +Exception::auto_ptr QpidError::clone() const throw() { return Exception::auto_ptr(new QpidError(*this)); } void QpidError::throwSelf() const { throw *this; } |