Merge "Remove unnecessary std::move" into main am: 942e372dd8
Original change: https://android-review.googlesource.com/c/platform/system/core/+/3251961 Change-Id: Ic895f90ffb646d8a090d0d01683760aa728a5fa5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
eba7b771e6
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ struct TestFileHandle {
|
|||
protected:
|
||||
// |rel_path| is the relative path under test data directory.
|
||||
TestFileHandle(const std::filesystem::path& rel_path)
|
||||
: abs_path_(std::move(std::filesystem::path(GetExecutableDirectory()) / rel_path)) {}
|
||||
: abs_path_(std::filesystem::path(GetExecutableDirectory()) / rel_path) {}
|
||||
// Given |read_fd|, the readonly fd on the test file, return an fd that's suitable for client
|
||||
// to use. Implementation is responsible for managing the lifetime of the returned fd.
|
||||
virtual android::base::Result<borrowed_fd> Transform(const std::filesystem::path& abs_path,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue