diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 6 | ||||
-rw-r--r-- | cpp/src/qpid/broker/Connection.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index 6bd846e2a3..f082c5cdb6 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -46,12 +46,6 @@ Connection::Connection(ConnectionOutputHandler* out_, Broker& broker_) : adapter(*this) {} - -Exchange::shared_ptr Connection::findExchange(const string& name){ - return broker.getExchanges().get(name); -} - - void Connection::received(framing::AMQFrame& frame){ if (frame.getChannel() == 0) { adapter.handle(frame); diff --git a/cpp/src/qpid/broker/Connection.h b/cpp/src/qpid/broker/Connection.h index e38f88c2e9..b552267452 100644 --- a/cpp/src/qpid/broker/Connection.h +++ b/cpp/src/qpid/broker/Connection.h @@ -85,7 +85,6 @@ class Connection : public sys::ConnectionInputHandler, typedef std::map<framing::ChannelId, framing::FrameHandler::Chains> ChannelMap; typedef std::vector<Queue::shared_ptr>::iterator queue_iterator; - Exchange::shared_ptr findExchange(const string& name); framing::ProtocolVersion version; ChannelMap channels; |