Skip to content

Use BOOST_DEFAULTED_FUNCTION on empty destructors#381

Open
ecatmur wants to merge 1 commit intoboostorg:developfrom
ecatmur:deprecated-copy
Open

Use BOOST_DEFAULTED_FUNCTION on empty destructors#381
ecatmur wants to merge 1 commit intoboostorg:developfrom
ecatmur:deprecated-copy

Conversation

@ecatmur
Copy link

@ecatmur ecatmur commented Feb 22, 2023

The compiler-generated copy constructor and copy assignment operator are deprecated since C++11 on classes with user-declared destructors.

This change allows clean compilation with the -Wdeprecated-copy-dtor/-Wdeprecated-copy-with-user-provided-dtor flag.

The compiler-generated copy constructor and copy assignment operator are deprecated since C++11 on classes with user-declared destructors.

This change allows clean compilation with the -Wdeprecated-copy-dtor/-Wdeprecated-copy-with-user-provided-dtor flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant