diff options
-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; } |