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
This commit is contained in:
parent
b29f0dcb5b
commit
eecb107828
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class CrashQueue {
|
|||
}
|
||||
}
|
||||
|
||||
return std::move(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::optional<CrashOutput> get_output(DebuggerdDumpType dump_type) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue