summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-24 11:22:28 +0000
committerGordon Sim <gsim@apache.org>2010-06-24 11:22:28 +0000
commit7d890288c04e114499ebf5fd236d4afe12e23a78 (patch)
tree44741567e135f97e2a723acf55e7501ec793b166 /cpp/src/qpid/broker/Queue.cpp
parent90f59e8c07ff05fd6ceadd7bc672eb16fce56e5d (diff)
downloadqpid-python-7d890288c04e114499ebf5fd236d4afe12e23a78.tar.gz
QPID-2691: ensure ttl adjustment uses correct expiration on cloned message
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
-rw-r--r--cpp/src/qpid/broker/Queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp
index 7f7b2bc312..dd077aa564 100644
--- a/cpp/src/qpid/broker/Queue.cpp
+++ b/cpp/src/qpid/broker/Queue.cpp
@@ -141,7 +141,7 @@ bool Queue::isExcluded(boost::intrusive_ptr<Message>& msg)
return traceExclude.size() && msg->isExcluded(traceExclude);
}
-void Queue::deliver(boost::intrusive_ptr<Message>& msg){
+void Queue::deliver(boost::intrusive_ptr<Message> msg){
if (msg->isImmediate() && getConsumerCount() == 0) {
if (alternateExchange) {
DeliverableMessage deliverable(msg);