Closed ecatmur closed 9 months ago
@ecatmur I believe we don't need BOOST_DEFAULTED_FUNCTION macro anymore, since we have dropped C++03 support. Could you please update this PR accordingly so that we can merge it.
@pdimov Could you please approve the workflow?
The compiler-generated copy constructor and copy assignment operator are deprecated since C++11 on classes with user-declared destructors.
The compiler-generated destructor is
noexcept
since C++11, so there is no need to declare/define a user-provided or explicitly defaulted destructor.This change allows clean compilation with the -Wdeprecated-copy-dtor/-Wdeprecated-copy-with-user-provided-dtor flag.