From: Zachary Turner Date: Fri, 2 Jun 2017 21:00:22 +0000 (+0000) Subject: Fix build error on gcc. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efbf6a8cda87abb55b758e57f8a550035492c8d5;p=llvm Fix build error on gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304595 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp b/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp index a85dcf97cd4..21d29835624 100644 --- a/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp +++ b/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp @@ -397,7 +397,7 @@ llvm::CodeViewYAML::convertSubsectionList( DebugStringTableSubsection &Strings) { std::vector> Result; if (Subsections.empty()) - return Result; + return std::move(Result); auto Checksums = findChecksums(Subsections); if (!Checksums)