-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use rvalue reference for IOBuf value in fill request
Summary: IOBuf in value field of fill request is being passed around as a const reference. This diff changes this to a rvalue reference, so as to avoid wasteful refcount increment of IOBuf. Reviewed By: alikhtarov Differential Revision: D63415040 fbshipit-source-id: 5a95502fa1d82224a03cf9e9a7f1d5dfdf08f44e
- Loading branch information
1 parent
699f085
commit 914a238
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters