Skip to content
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

PR #23056: Remove std::move for trivially copyable types #24022

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

copybara-service[bot]
Copy link

PR #23056: Remove std::move for trivially copyable types

Imported from GitHub PR #23056

Changes:

  • Removed unnecessary std::move calls for some trivially_copyable classes
  • Literal::CopyFrom expects a reference (&), not an r-value reference (&&). Removed std::move on the first parameter.

Copybara import of the project:

--
6051f15 by Alexander Pivovarov [email protected]:

Remove std::move for trivially copyable types

Merging this change closes #23056

FUTURE_COPYBARA_INTEGRATE_REVIEW=#23056 from apivovarov:no_move_for_KernelMetadata 6051f15

Imported from GitHub PR #23056

Changes:
- Removed unnecessary std::move calls for some trivially_copyable classes
- Literal::CopyFrom expects a reference (&), not an r-value reference (&&). Removed std::move on the first parameter.

Copybara import of the project:

--
6051f15 by Alexander Pivovarov <[email protected]>:

Remove std::move for trivially copyable types

Merging this change closes #23056

COPYBARA_INTEGRATE_REVIEW=#23056 from apivovarov:no_move_for_KernelMetadata 6051f15
PiperOrigin-RevId: 739114605
@copybara-service copybara-service bot merged commit 8e58e1c into main Mar 21, 2025
@copybara-service copybara-service bot deleted the test_739064828 branch March 21, 2025 19:20
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.

1 participant