event/SocketMonitor: remove unused method Abandon()

This commit is contained in:
Max Kellermann 2017-11-10 20:52:37 +01:00
parent 0ff4350352
commit 43dccbd45d
2 changed files with 0 additions and 14 deletions

View File

@ -63,15 +63,6 @@ SocketMonitor::Steal() noexcept
return std::exchange(fd, SocketDescriptor::Undefined());
}
void
SocketMonitor::Abandon() noexcept
{
assert(IsDefined());
loop.Abandon(std::exchange(fd, SocketDescriptor::Undefined()).Get(),
*this);
}
void
SocketMonitor::Close() noexcept
{

View File

@ -91,11 +91,6 @@ public:
*/
SocketDescriptor Steal() noexcept;
/**
* Somebody has closed the socket. Unregister this object.
*/
void Abandon() noexcept;
void Close() noexcept;
unsigned GetScheduledFlags() const noexcept {