~singpolyma/biboumi

be6265544ae4cfcb155cb9cdf7bfabc6c16d1ca4 — Florent Le Coz 9 years ago 1706a92
Make the destructor of the SocketHandler class protected non-virtual
1 files changed, 2 insertions(+), 1 deletions(-)

M src/network/socket_handler.hpp
M src/network/socket_handler.hpp => src/network/socket_handler.hpp +2 -1
@@ 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.