From 40c8b6f844ce64fc4245e5f91e6b1eaea2fc9e94 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 2 Jun 2008 16:01:51 +0000 Subject: QPID-1113 Management cleanup and performance enhancements git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662470 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/TopicExchange.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/qpid/broker/TopicExchange.cpp') diff --git a/cpp/src/qpid/broker/TopicExchange.cpp b/cpp/src/qpid/broker/TopicExchange.cpp index 1c4fa2ea7a..a16421b090 100644 --- a/cpp/src/qpid/broker/TopicExchange.cpp +++ b/cpp/src/qpid/broker/TopicExchange.cpp @@ -138,8 +138,8 @@ bool TopicExchange::bind(Queue::shared_ptr queue, const string& routingKey, cons Binding::shared_ptr binding (new Binding (routingKey, queue, this)); bindings[routingPattern].push_back(binding); if (mgmtExchange.get() != 0) { - mgmtExchange->inc_bindings (); - dynamic_pointer_cast(queue->GetManagementObject())->inc_bindings(); + mgmtExchange->inc_bindingCount(); + dynamic_pointer_cast(queue->GetManagementObject())->inc_bindingCount(); } return true; } @@ -159,8 +159,8 @@ bool TopicExchange::unbind(Queue::shared_ptr queue, const string& routingKey, co qv.erase(q); if(qv.empty()) bindings.erase(bi); if (mgmtExchange.get() != 0) { - mgmtExchange->dec_bindings (); - dynamic_pointer_cast(queue->GetManagementObject())->dec_bindings(); + mgmtExchange->dec_bindingCount(); + dynamic_pointer_cast(queue->GetManagementObject())->dec_bindingCount(); } return true; } -- cgit v1.2.1