summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/socket_handler.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/socket_handler.hpp b/src/network/socket_handler.hpp
index 0b59757..1be3db1 100644
--- a/src/network/socket_handler.hpp
+++ b/src/network/socket_handler.hpp
@@ -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.