diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-06-05 02:24:03 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-06-05 02:24:03 +0200 |
commit | be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4 (patch) | |
tree | 4b0093511ee53fe554730ab1ba1298f7dbc47119 | |
parent | 1706a92f0c67058591ac8ebb378cf46a6bdbad5a (diff) | |
download | biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.tar.gz biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.tar.bz2 biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.tar.xz biboumi-be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4.zip |
Make the destructor of the SocketHandler class protected non-virtual
-rw-r--r-- | src/network/socket_handler.hpp | 3 |
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. |