From 17901dc92b36cdd2af8f96771107bf5594beb3ce Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 26 May 2011 20:38:27 +0000 Subject: NO-JIRA: Remove a lot of redundant stuff from the Socket code - Removal of unused code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128065 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/SslPlugin.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpp/src/qpid/sys/SslPlugin.cpp') diff --git a/cpp/src/qpid/sys/SslPlugin.cpp b/cpp/src/qpid/sys/SslPlugin.cpp index 84ab7e534c..471a0cef60 100644 --- a/cpp/src/qpid/sys/SslPlugin.cpp +++ b/cpp/src/qpid/sys/SslPlugin.cpp @@ -71,7 +71,6 @@ class SslProtocolFactory : public ProtocolFactory { boost::function2 failed); uint16_t getPort() const; - std::string getHost() const; bool supports(const std::string& capability); private: @@ -146,10 +145,6 @@ uint16_t SslProtocolFactory::getPort() const { return listeningPort; // Immutable no need for lock. } -std::string SslProtocolFactory::getHost() const { - return listener.getSockname(); -} - void SslProtocolFactory::accept(Poller::shared_ptr poller, ConnectionCodec::Factory* fact) { acceptor.reset( -- cgit v1.2.1