diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2012-06-12 13:41:41 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2012-06-12 13:41:41 +0000 |
commit | f74d0aff19bb4a87b697753f88c9cc9a953b1884 (patch) | |
tree | ab0963e8c3072433819269a51e5b641bd4e222a4 /qpid/cpp/src | |
parent | 5ca6907b67418f5904fe95ef86c90376198d6085 (diff) | |
download | qpid-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.cpp | 2 |
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; } |