summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/BrokerQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/lib/broker/BrokerQueue.cpp')
-rw-r--r--qpid/cpp/lib/broker/BrokerQueue.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/qpid/cpp/lib/broker/BrokerQueue.cpp b/qpid/cpp/lib/broker/BrokerQueue.cpp
index b65e8e3a9a..4b0ed6111c 100644
--- a/qpid/cpp/lib/broker/BrokerQueue.cpp
+++ b/qpid/cpp/lib/broker/BrokerQueue.cpp
@@ -50,16 +50,7 @@ Queue::Queue(const string& _name, uint32_t _autodelete,
if(autodelete) lastUsed = now()/TIME_MSEC;
}
-Queue::~Queue(){
- for(Binding* b = bindings.front(); !bindings.empty(); b = bindings.front()){
- b->cancel();
- bindings.pop();
- }
-}
-
-void Queue::bound(Binding* b){
- bindings.push(b);
-}
+Queue::~Queue(){}
void Queue::deliver(Message::shared_ptr& msg){
enqueue(0, msg, 0);