summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/DirectExchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/lib/broker/DirectExchange.cpp')
-rw-r--r--qpid/cpp/lib/broker/DirectExchange.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/qpid/cpp/lib/broker/DirectExchange.cpp b/qpid/cpp/lib/broker/DirectExchange.cpp
index c898ae8d7e..0661e8c365 100644
--- a/qpid/cpp/lib/broker/DirectExchange.cpp
+++ b/qpid/cpp/lib/broker/DirectExchange.cpp
@@ -19,7 +19,6 @@
*
*/
#include <DirectExchange.h>
-#include <ExchangeBinding.h>
#include <iostream>
using namespace qpid::broker;
@@ -30,13 +29,12 @@ DirectExchange::DirectExchange(const string& _name) : Exchange(_name) {
}
-void DirectExchange::bind(Queue::shared_ptr queue, const string& routingKey, const FieldTable* args){
+void DirectExchange::bind(Queue::shared_ptr queue, const string& routingKey, const FieldTable*){
Mutex::ScopedLock l(lock);
std::vector<Queue::shared_ptr>& queues(bindings[routingKey]);
std::vector<Queue::shared_ptr>::iterator i = find(queues.begin(), queues.end(), queue);
if(i == queues.end()){
bindings[routingKey].push_back(queue);
- queue->bound(new ExchangeBinding(this, queue, routingKey, args));
}
}