Skip to content

fix: add missing moves in eval.h #3775

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
Mar 2, 2022

Conversation

Skylion007
Copy link
Collaborator

Description

I was reading through the source code and noticed a couple of useful std::move were missing in eval.h. Seems clang-tidy didn't have the confidence to suggest them since they were in template functions. Now the behavior just matches the non-template version of the same function.

@Skylion007 Skylion007 requested review from rwgk and henryiii March 2, 2022 19:02
@Skylion007 Skylion007 changed the title Fix missing moves in eval.h fix: fix missing moves in eval.h Mar 2, 2022
@Skylion007 Skylion007 changed the title fix: fix missing moves in eval.h fix: add missing moves in eval.h Mar 2, 2022
@henryiii henryiii merged commit 2dd5254 into pybind:master Mar 2, 2022
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Mar 2, 2022
henryiii pushed a commit to henryiii/pybind11 that referenced this pull request Mar 2, 2022
henryiii pushed a commit that referenced this pull request Mar 2, 2022
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Mar 29, 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.

2 participants