Skip to content

Removing std::get_deleter const_cast. #3045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Jun 17, 2021

Follow-on to PR #3041.

It was a small surprise that retesting here showed that the const_cast is not needed. Evidently I got confused by a CI failure (under PR #3023, which was and is still a work in progress) for some intermediate state in the development that lead to PR #3041. Details omitted: I don't think it's worth anyone's time.

@rwgk rwgk changed the title EXPERIMENT: Removing std::get_deleter const_cast. Removing std::get_deleter const_cast. Jun 17, 2021
@rwgk rwgk marked this pull request as ready for review June 17, 2021 20:10
@rwgk rwgk merged commit 840eb84 into pybind:smart_holder Jun 17, 2021
@rwgk rwgk deleted the sh_std_deleter_const_cast_experiment branch June 17, 2021 20:13
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Jun 17, 2021
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Jul 12, 2021
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.

2 participants