summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-06-05 02:24:03 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-06-05 02:24:03 +0200
commitbe6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4 (patch)
tree4b0093511ee53fe554730ab1ba1298f7dbc47119 /src
parent1706a92f0c67058591ac8ebb378cf46a6bdbad5a (diff)
downloadbiboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.tar.gz
biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.tar.bz2
biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.tar.xz
biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.zip
Make the destructor of the SocketHandler class protected non-virtual
Diffstat (limited to 'src')
-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.