From be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 5 Jun 2014 02:24:03 +0200 Subject: Make the destructor of the SocketHandler class protected non-virtual --- src/network/socket_handler.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); - virtual ~SocketHandler() {} /** * Initialize the socket with the parameters contained in the given * addrinfo structure. -- cgit v1.2.3