summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-06-19 14:26:11 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-06-19 14:26:11 +0000
commit3f6ca2bd3e2fe214e74f89b5847c37602ddf74cf (patch)
tree26fc0109e6611ef4ef9049a88c1a469a01d54f1e /cpp/src/qpid/broker/Queue.cpp
parentbaf1fc7b0515aaca321bc553c29d4ff60d859500 (diff)
downloadqpid-python-3f6ca2bd3e2fe214e74f89b5847c37602ddf74cf.tar.gz
QPID-4905: Stopped broker::Broker needing to refer to broker::Connection
- Also removed ConnectionToken which didn't add anything over OwnershipToken git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1494640 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 3b68d4117b..cbc5c86dad 100644
--- a/cpp/src/qpid/broker/Queue.cpp
+++ b/cpp/src/qpid/broker/Queue.cpp
@@ -224,7 +224,7 @@ Queue::~Queue()
bool isLocalTo(const OwnershipToken* token, const Message& msg)
{
- return token && token->isLocal(msg.getPublisher());
+ return token && token->isLocal(msg.getPublisherOwnership());
}
bool Queue::isLocal(const Message& msg)