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