Add default dtors to satisfy -Wnon-virtual-dtor

close #1664
This commit is contained in:
Mike Ellery
2019-07-23 09:39:23 -07:00
committed by Vinnie Falco
parent 6eb55b21da
commit e681f9d212
4 changed files with 10 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ Version 267:
* Fix signed/unsigned mismatch in file_stdio::seek
* basic_stream dtor cannot throw
* cmake: check policy first
* Add default dtors to satisfy -Wnon-virtual-dtor
--------------------------------------------------------------------------------

View File

@@ -193,6 +193,10 @@ public:
{
}
virtual ~suite() = default;
suite(suite const&) = delete;
suite& operator=(suite const&) = delete;
/** Invokes the test using the specified runner.
Data members are set up here instead of the constructor as a

View File

@@ -249,6 +249,10 @@ public:
/// Move Constructor
async_base(async_base&& other) = default;
virtual ~async_base() = default;
async_base(async_base const&) = delete;
async_base& operator=(async_base const&) = delete;
/** The type of allocator associated with this object.
If a class derived from @ref async_base is a completion

View File

@@ -30,7 +30,7 @@ namespace http {
namespace detail {
class nodejs_message_category
class nodejs_message_category final
: public boost::system::error_category
{
public: