summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/QueueFlowLimit.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2012-11-20 17:46:05 +0000
committerTed Ross <tross@apache.org>2012-11-20 17:46:05 +0000
commitbeef0c686777b44c2cc7a90cd2f0b9d73bb39570 (patch)
treeef05c389edc5c739bc2ae63ca7ce71906ce09476 /cpp/src/qpid/broker/QueueFlowLimit.cpp
parent5aac7f448a513687dca2be93996c1d645fb668f7 (diff)
downloadqpid-python-beef0c686777b44c2cc7a90cd2f0b9d73bb39570.tar.gz
QPID-4449 - Fixed the API in qpid::management::Manageable to remain backward compatible.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1411761 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/QueueFlowLimit.cpp')
-rw-r--r--cpp/src/qpid/broker/QueueFlowLimit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/QueueFlowLimit.cpp b/cpp/src/qpid/broker/QueueFlowLimit.cpp
index 944cc7e838..9d6053669b 100644
--- a/cpp/src/qpid/broker/QueueFlowLimit.cpp
+++ b/cpp/src/qpid/broker/QueueFlowLimit.cpp
@@ -78,7 +78,7 @@ QueueFlowLimit::QueueFlowLimit(Queue *_queue,
if (queue->getSettings().maxDepth.hasCount()) maxCount = queue->getSettings().maxDepth.getCount();
if (queue->getSettings().maxDepth.hasCount()) maxSize = queue->getSettings().maxDepth.getSize();
broker = queue->getBroker();
- queueMgmtObj = boost::dynamic_pointer_cast<_qmfBroker::Queue> (queue->GetManagementObject());
+ queueMgmtObj = boost::dynamic_pointer_cast<_qmfBroker::Queue> (queue->GetManagementObjectShared());
if (queueMgmtObj) {
queueMgmtObj->set_flowStopped(isFlowControlActive());
}