Skip to content

remove std::move where clang warns of pessimizing-move#3080

Merged
davisking merged 1 commit into
davisking:masterfrom
ribbon-otter:pessimizing-move
Jun 2, 2025
Merged

remove std::move where clang warns of pessimizing-move#3080
davisking merged 1 commit into
davisking:masterfrom
ribbon-otter:pessimizing-move

Conversation

@ribbon-otter

Copy link
Copy Markdown
Contributor

As I understand it, std::move achieves nothing on these lines, since they are already temporary objects, and can even prevent some optimizations.

@davisking

Copy link
Copy Markdown
Owner

Just so, thanks for the PR :D

@davisking davisking merged commit a078e81 into davisking:master Jun 2, 2025
9 checks passed
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