diff options
author | Zachary Turner <zturner@google.com> | 2017-06-02 21:00:22 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-02 21:00:22 +0000 |
commit | efbf6a8cda87abb55b758e57f8a550035492c8d5 (patch) | |
tree | fb1864d534f9618043e4838e0e0352e6269c7ab6 /lib/ObjectYAML | |
parent | 2961ee384e1e6377fcef7ce99505c92ee13f54d3 (diff) |
Fix build error on gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ObjectYAML')
-rw-r--r-- | lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp b/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp index a85dcf97cd4b..21d29835624e 100644 --- a/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp +++ b/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) |