adds virtual destructors where appropriate

This commit is contained in:
Peter Thorson
2012-01-24 09:08:54 -06:00
parent 02b48a8dbb
commit 4e6676ccca
2 changed files with 2 additions and 0 deletions

View File

@@ -410,6 +410,7 @@ struct endpoint_traits< endpoint<role, socket, logger> > {
typedef typename connection_type::ptr connection_ptr;
typedef typename message::data::ptr message_ptr;
virtual ~handler() {}
/// on_load is the first callback called for a handler after a new
/// connection has been transferred to it mid flight.

View File

@@ -84,6 +84,7 @@ namespace processor {
class processor_base {
public:
virtual ~processor_base() {}
// validate client handshake
// validate server handshake