summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/RecoveryManagerImpl.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2014-05-23 16:10:27 +0000
committerGordon Sim <gsim@apache.org>2014-05-23 16:10:27 +0000
commit0c839dc7a1ca94f91dfda29134c3feffe3d6d3d5 (patch)
treefbe6e22c3d6d29dac44645ece91b682d4e84c8a8 /cpp/src/qpid/broker/RecoveryManagerImpl.cpp
parent8f8d83c8a6a078ec1595e2c58eed7ab00ce080c4 (diff)
downloadqpid-python-0c839dc7a1ca94f91dfda29134c3feffe3d6d3d5.tar.gz
QPID-5783: Share immutable state between copies of a message. Avoid using memory for annotations unless actually required.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1597121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/RecoveryManagerImpl.cpp')
-rw-r--r--cpp/src/qpid/broker/RecoveryManagerImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/RecoveryManagerImpl.cpp b/cpp/src/qpid/broker/RecoveryManagerImpl.cpp
index 5a11db81bb..846dc9eb2a 100644
--- a/cpp/src/qpid/broker/RecoveryManagerImpl.cpp
+++ b/cpp/src/qpid/broker/RecoveryManagerImpl.cpp
@@ -185,7 +185,7 @@ void RecoverableMessageImpl::setRedelivered()
void RecoverableMessageImpl::computeExpiration(const boost::intrusive_ptr<ExpiryPolicy>& ep)
{
- msg.computeExpiration(ep);
+ msg.getSharedState().computeExpiration(ep);
}
Message RecoverableMessageImpl::getMessage()