net/Socket.hpp | 16 ---------------- 1 file changed, 16 deletions(-) New commits: commit 9586b4137885075b68eb2bdfb3c86e9913d93e22 Author: Gabriele Ponzo <gabriele.po...@documentfoundation.org> AuthorDate: Tue Feb 4 11:29:57 2020 +0100 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Tue Feb 4 12:09:51 2020 +0100
Remove unused method. Change-Id: I18276c1ee074361ab70c3c27fc09bb5ba2429738 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87963 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/net/Socket.hpp b/net/Socket.hpp index 98479841b..c95b93dd7 100644 --- a/net/Socket.hpp +++ b/net/Socket.hpp @@ -696,22 +696,6 @@ public: virtual void dumpState(std::ostream& os); - /// Removes a socket from this poller. - /// NB. this must be called from the socket poll that - /// owns the socket. - void releaseSocket(const std::shared_ptr<Socket>& socket) - { - assert(socket); - assertCorrectThread(); - socket->assertCorrectThread(); - auto it = std::find(_pollSockets.begin(), _pollSockets.end(), socket); - assert(it != _pollSockets.end()); - - _pollSockets.erase(it); - LOG_DBG("Removing socket #" << socket->getFD() << " (of " << - _pollSockets.size() << ") from " << _name); - } - size_t getSocketCount() const { assertCorrectThread(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits