summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp b/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
index a85dcf97cd4..21d29835624 100644
--- a/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
+++ b/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
@@ -397,7 +397,7 @@ llvm::CodeViewYAML::convertSubsectionList(
DebugStringTableSubsection &Strings) {
std::vector<std::unique_ptr<DebugSubsection>> Result;
if (Subsections.empty())
- return Result;
+ return std::move(Result);
auto Checksums = findChecksums(Subsections);
if (!Checksums)
OpenPOWER on IntegriCloud