event/SocketMonitor: remove unused method Abandon()
This commit is contained in:
parent
0ff4350352
commit
43dccbd45d
@ -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
|
||||
{
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user