diff options
author | Alan Conway <aconway@apache.org> | 2009-05-06 14:59:23 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-05-06 14:59:23 +0000 |
commit | 51aa1c108e8b9c3b72aa1e81bcd9b41b3910c4b4 (patch) | |
tree | 1180206db9b9e65f98ed470a8f45d94c403f2f12 /cpp/src/qpid/broker/SemanticState.cpp | |
parent | 5d89f0791bec9417c3dc59a1903a17a1f7e78e52 (diff) | |
download | qpid-python-51aa1c108e8b9c3b72aa1e81bcd9b41b3910c4b4.tar.gz |
Remove useless qpid/shared_ptr.h wrapper.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 3c7c6d9afa..5e41fa3302 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -146,7 +146,7 @@ void SemanticState::startDtx(const std::string& xid, DtxManager& mgr, bool join) throw CommandInvalidException(QPID_MSG("Session has not been selected for use with dtx")); } dtxBuffer = DtxBuffer::shared_ptr(new DtxBuffer(xid)); - txBuffer = static_pointer_cast<TxBuffer>(dtxBuffer); + txBuffer = boost::static_pointer_cast<TxBuffer>(dtxBuffer); if (join) { mgr.join(xid, dtxBuffer); } else { @@ -214,7 +214,7 @@ void SemanticState::resumeDtx(const std::string& xid) checkDtxTimeout(); dtxBuffer->setSuspended(false); - txBuffer = static_pointer_cast<TxBuffer>(dtxBuffer); + txBuffer = boost::static_pointer_cast<TxBuffer>(dtxBuffer); } void SemanticState::checkDtxTimeout() |