Skip to content

Default empty destructors#1399

Open
ecatmur wants to merge 1 commit intochriskohlhoff:masterfrom
ecatmur:patch-1
Open

Default empty destructors#1399
ecatmur wants to merge 1 commit intochriskohlhoff:masterfrom
ecatmur:patch-1

Conversation

@ecatmur
Copy link
Copy Markdown
Contributor

@ecatmur ecatmur commented Dec 21, 2023

downstream: boostorg/asio#407

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.

cf. #792 (comment)

downstream: boostorg/asio#407

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.

cf. chriskohlhoff#792 (comment)
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