diff --git a/include/fastcgi++/email.hpp b/include/fastcgi++/email.hpp index 406ee31..26f6b12 100644 --- a/include/fastcgi++/email.hpp +++ b/include/fastcgi++/email.hpp @@ -49,6 +49,8 @@ namespace Fastcgipp class Email_base { public: + virtual ~Email_base() = default; + //! %Email message data struct DataRef { diff --git a/include/fastcgi++/manager.hpp b/include/fastcgi++/manager.hpp index 153dba9..38f575b 100644 --- a/include/fastcgi++/manager.hpp +++ b/include/fastcgi++/manager.hpp @@ -70,7 +70,7 @@ namespace Fastcgipp */ Manager_base(unsigned threads); - ~Manager_base(); + virtual ~Manager_base(); //! Call from any thread to terminate the Manager /*! diff --git a/include/fastcgi++/request.hpp b/include/fastcgi++/request.hpp index 80842c7..6f2a660 100644 --- a/include/fastcgi++/request.hpp +++ b/include/fastcgi++/request.hpp @@ -244,7 +244,7 @@ namespace Fastcgipp * @param[in] bytesReceived Amount of bytes received in this FastCGI * record */ - virtual void inHandler(int bytesReceived) + virtual void inHandler(int /*bytesReceived*/) {} //! Process custom POST data diff --git a/include/fastcgi++/webstreambuf.hpp b/include/fastcgi++/webstreambuf.hpp index ec0f272..cba650a 100644 --- a/include/fastcgi++/webstreambuf.hpp +++ b/include/fastcgi++/webstreambuf.hpp @@ -238,6 +238,8 @@ namespace Fastcgipp WebStreambuf(): m_encoding(Encoding::NONE) {} + + ~WebStreambuf() = default; }; }