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

Commit eecb1078 authored by Yi Kong's avatar Yi Kong
Browse files

Remove unnecessary std::move

Moving a temporary object prevents copy elision, and could reduce
performance.

This fixes -Wpessimizing-move compiler warning.

Test: presubmit
Bug: 154270751
Change-Id: I4900bcfd14d461f7ded0500eca0a6b386ed59c8f
parent b29f0dcb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ class CrashQueue {
      }
    }

    return std::move(result);
    return result;
  }

  std::optional<CrashOutput> get_output(DebuggerdDumpType dump_type) {