Make the destructor of the SocketHandler class protected non-virtual
This commit is contained in:
@@ -22,9 +22,10 @@ class Poller;
|
||||
*/
|
||||
class SocketHandler
|
||||
{
|
||||
protected:
|
||||
~SocketHandler() {}
|
||||
public:
|
||||
explicit SocketHandler(std::shared_ptr<Poller> poller);
|
||||
virtual ~SocketHandler() {}
|
||||
/**
|
||||
* Initialize the socket with the parameters contained in the given
|
||||
* addrinfo structure.
|
||||
|
||||
Reference in New Issue
Block a user