Skip to content

Explicitly default copy assignment operator#141

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

Explicitly default copy assignment operator#141
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 assignment operator is deprecated since C++11 on classes with user-declared copy constructor.

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

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

This change allows clean compilation with the -Wdeprecated-copy/-Wdeprecated-copy-with-user-provided-ctor 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