summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2012-06-12 13:41:41 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2012-06-12 13:41:41 +0000
commitf74d0aff19bb4a87b697753f88c9cc9a953b1884 (patch)
treeab0963e8c3072433819269a51e5b641bd4e222a4 /qpid/cpp/src
parent5ca6907b67418f5904fe95ef86c90376198d6085 (diff)
downloadqpid-python-f74d0aff19bb4a87b697753f88c9cc9a953b1884.tar.gz
QPID-4046: set intrusive ptr to zero instead of calling reset() - compatible with older releases of boost
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349346 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/MessageDeque.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/MessageDeque.cpp b/qpid/cpp/src/qpid/broker/MessageDeque.cpp
index f26d5841a6..83c8ca6868 100644
--- a/qpid/cpp/src/qpid/broker/MessageDeque.cpp
+++ b/qpid/cpp/src/qpid/broker/MessageDeque.cpp
@@ -44,7 +44,7 @@ bool MessageDeque::deleted(const QueuedMessage& m)
QueuedMessage *qm = &messages[i];
if (qm->status != QueuedMessage::DELETED) {
qm->status = QueuedMessage::DELETED;
- qm->payload.reset(); // message no longer needed
+ qm->payload = 0; // message no longer needed
clean();
return true;
}