Remove some useless virtual method from SocketHandler

This commit is contained in:
louiz’
2016-11-16 23:07:27 +01:00
parent b5a7c66bea
commit 42e85d921b
6 changed files with 5 additions and 32 deletions
-12
View File
@@ -63,20 +63,8 @@ class TcpSocketServer: public SocketHandler
{
this->poller->add_socket_handler(this);
}
void on_send() override
{
assert(false);
}
void connect() override
{
assert(false);
}
bool is_connected() const override
{
return true;
}
bool is_connecting() const override
{
return false;
}
};