Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 942e372d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unnecessary std::move" into main

parents d5f8aa8f a287592b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -163,7 +163,7 @@ struct TestFileHandle {
  protected:
  protected:
    // |rel_path| is the relative path under test data directory.
    // |rel_path| is the relative path under test data directory.
    TestFileHandle(const std::filesystem::path& rel_path)
    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
    // 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.
    // 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,
    virtual android::base::Result<borrowed_fd> Transform(const std::filesystem::path& abs_path,