summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
-rw-r--r--llvm/lib/Object/IRObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/IRObjectFile.cpp b/llvm/lib/Object/IRObjectFile.cpp
index 8184e04a3ae..efa30b036bd 100644
--- a/llvm/lib/Object/IRObjectFile.cpp
+++ b/llvm/lib/Object/IRObjectFile.cpp
@@ -40,7 +40,7 @@ IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod)
Mang.reset(new Mangler());
CollectAsmUndefinedRefs(*M, [this](StringRef Name,
BasicSymbolRef::Flags Flags) {
- AsmSymbols.push_back(std::make_pair<std::string, uint32_t>(Name, Flags));
+ AsmSymbols.push_back(std::make_pair<std::string, uint32_t>(Name, std::move(Flags)));
});
}
OpenPOWER on IntegriCloud