[llvm] r338829 - [XRay] fixup: add one more missing std::move(...)
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 3 02:06:11 PDT 2018
Author: dberris
Date: Fri Aug 3 02:06:11 2018
New Revision: 338829
URL: http://llvm.org/viewvc/llvm-project?rev=338829&view=rev
Log:
[XRay] fixup: add one more missing std::move(...)
Follow up to D48370.
Modified:
llvm/trunk/lib/XRay/Profile.cpp
Modified: llvm/trunk/lib/XRay/Profile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/XRay/Profile.cpp?rev=338829&r1=338828&r2=338829&view=diff
==============================================================================
--- llvm/trunk/lib/XRay/Profile.cpp (original)
+++ llvm/trunk/lib/XRay/Profile.cpp Fri Aug 3 02:06:11 2018
@@ -372,7 +372,7 @@ Expected<Profile> profileFromTrace(const
return std::move(E);
}
- return P;
+ return std::move(P);
}
} // namespace xray
More information about the llvm-commits
mailing list