Make the destructor of the SocketHandler class protected non-virtual

This commit is contained in:
Florent Le Coz
2014-06-05 02:24:03 +02:00
parent 1706a92f0c
commit be6265544a
+2 -1
View File
@@ -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.