summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/COFF/DriverUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/DriverUtils.cpp b/lld/COFF/DriverUtils.cpp
index 43449522a24..d0152b0917b 100644
--- a/lld/COFF/DriverUtils.cpp
+++ b/lld/COFF/DriverUtils.cpp
@@ -433,7 +433,7 @@ std::unique_ptr<MemoryBuffer> createManifestRes() {
// Copy the manifest data into the .res file.
std::copy(Manifest.begin(), Manifest.end(), Buf);
- return std::move(Res);
+ return Res;
}
void createSideBySideManifest() {
OpenPOWER on IntegriCloud