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

rpc: Emplace buffers into vector, not push #2525

Merged

Conversation

xemul
Copy link
Contributor

@xemul xemul commented Oct 30, 2024

There are two places that accumulate a vector of buffer and for that they push-back the temporarily-constructed one. There's the emplace_back shortcut for such cases.

There are two places that accumulate a vector of buffer and for that
they push-back the temporarily-constructed one. There's the emplace_back
shortcut for such cases.

Signed-off-by: Pavel Emelyanov <[email protected]>
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tchaikov
Copy link
Contributor

tchaikov commented Nov 5, 2024

@scylladb/seastar-maint hello maintainers, could you help merge this change?

@xemul
Copy link
Contributor Author

xemul commented Nov 11, 2024

@avikivity , please review

@avikivity avikivity merged commit a543236 into scylladb:master Nov 13, 2024
15 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.

4 participants