diff options
Diffstat (limited to 'Swiften/Network/BoostConnectionServer.cpp')
-rw-r--r-- | Swiften/Network/BoostConnectionServer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Swiften/Network/BoostConnectionServer.cpp b/Swiften/Network/BoostConnectionServer.cpp index 97c1316..4e83ad5 100644 --- a/Swiften/Network/BoostConnectionServer.cpp +++ b/Swiften/Network/BoostConnectionServer.cpp @@ -42,10 +42,6 @@ void BoostConnectionServer::stop(boost::optional<Error> e) { MainEventLoop::postEvent(boost::bind(boost::ref(onStopped), e), shared_from_this()); } -void BoostConnectionServer::cancelAllEvents() { - MainEventLoop::removeEventsFromOwner(shared_from_this()); -} - void BoostConnectionServer::acceptNextConnection() { boost::shared_ptr<BoostConnection> newConnection(new BoostConnection(&acceptor_->io_service())); acceptor_->async_accept(newConnection->getSocket(), |