Skip to content

Conversation

@mizdebsk
Copy link
Member

Eliminate unnecessary use of std::move when passing a value to a function that accepts a const reference. std::move has no effect in this context and may mislead readers about the intent.

Eliminate unnecessary use of std::move when passing a value to a
function that accepts a const reference. std::move has no effect in
this context and may mislead readers about the intent.
@mkoncek
Copy link
Member

mkoncek commented Jul 22, 2025

I believe this is a remnant of the older codebase where the string was passed by value.

@mkoncek mkoncek merged commit 89a8dc8 into fedora-java:main Jul 22, 2025
1 check passed
@mizdebsk mizdebsk deleted the pr/24 branch July 22, 2025 16:33
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