summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-08-03 07:54:37 +0000
committerDean Michael Berris <dberris@google.com>2018-08-03 07:54:37 +0000
commit5e8c5a31ddde7313f42be53917e0d4d96d3d543a (patch)
treecb4ea3d2ea5f292b8db7611178b8ed8b8c22239d
parent1fa08d113249c9ef24485ef06c1d6bdc8cbcf440 (diff)
downloadbcm5719-llvm-5e8c5a31ddde7313f42be53917e0d4d96d3d543a.tar.gz
bcm5719-llvm-5e8c5a31ddde7313f42be53917e0d4d96d3d543a.zip
[XRay] fixup: Add missing std::move(...)
Follow up to D48370. llvm-svn: 338827
-rw-r--r--llvm/lib/XRay/Profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/XRay/Profile.cpp b/llvm/lib/XRay/Profile.cpp
index d6074c16201..623b6a22263 100644
--- a/llvm/lib/XRay/Profile.cpp
+++ b/llvm/lib/XRay/Profile.cpp
@@ -293,7 +293,7 @@ Expected<Profile> loadProfile(StringRef Filename) {
return std::move(E);
}
- return P;
+ return std::move(P);
}
namespace {
OpenPOWER on IntegriCloud