Remove useless std::move().
https://codereview.chromium.org/1579583004/ converted a Pass() to
std::move(), which enabled the compiler to tell us that it's not needed
and actually harmful:
..\..\chrome\installer\util\shell_util.cc(277,10) :
error: moving a local object in a return statement prevents copy elision
[-Werror,-Wpessimizing-move]
return std::move(entries);
^
..\..\chrome\installer\util\shell_util.cc(277,10) :
note: remove std::move call here
return std::move(entries);
^~~~~~~~~~
BUG=82385
TBR=mgiuca
Review URL: https://codereview.chromium.org/1581083003 .
Cr-Commit-Position: refs/heads/master@{#369176}
1 file changed