Skip to content

Conversation

@oleksandr-pavlyk
Copy link
Contributor

Description

As noted by @rwgk in #3866 the implementation of error_scope did not define the copy constructor.

This adds a deleted copy constructor to comply with the rule of 3.

Suggested changelog entry:

This is a technical debt change and may not warrant a change log entry.

@Skylion007 Skylion007 merged commit 45164c1 into pybind:master Apr 14, 2022
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Apr 14, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the rule-of-3-for-error-scope branch April 14, 2022 16:26
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Apr 14, 2022
rwgk added a commit to rwgk/pybind11 that referenced this pull request Apr 15, 2022
Skylion007 pushed a commit that referenced this pull request Apr 15, 2022
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.

3 participants