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

Commit 13ee1db0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove unnecessary std::move" into main am: 9b0609b0

parents 5f675beb 9b0609b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ ProcResult ExecuteBinary(const std::vector<std::string>& argv) {
      auto err = ReadFile(stderr[0]);
      result.stderr_str = err ? std::move(*err) : "";
      close(stderr[0]);
      return std::move(result);
      return result;
  }
}

+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ struct JMediaCodecLinearBlock {
            std::shared_ptr<C2Buffer> buffer =
                C2Buffer::CreateLinearBuffer(block.subBlock(offset, size));
            for (const std::shared_ptr<const C2Info> &info : mBuffer->info()) {
                std::shared_ptr<C2Param> param = std::move(C2Param::Copy(*info));
                std::shared_ptr<C2Param> param = C2Param::Copy(*info);
                buffer->setInfo(std::static_pointer_cast<C2Info>(param));
            }
            return buffer;