summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/TopicExchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/TopicExchange.cpp')
-rw-r--r--cpp/src/qpid/broker/TopicExchange.cpp8
1 files changed, 4 insertions, 4 deletions
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<management::Queue>(queue->GetManagementObject())->inc_bindings();
+ mgmtExchange->inc_bindingCount();
+ dynamic_pointer_cast<management::Queue>(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<management::Queue>(queue->GetManagementObject())->dec_bindings();
+ mgmtExchange->dec_bindingCount();
+ dynamic_pointer_cast<management::Queue>(queue->GetManagementObject())->dec_bindingCount();
}
return true;
}