1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix non-Windows build when inserting a move only type into a map

llvm-svn: 271727
This commit is contained in:
Reid Kleckner 2016-06-03 20:29:51 +00:00
parent 920dd45c92
commit 169346bb55

View File

@ -325,7 +325,7 @@ LLVMSymbolizer::getOrCreateObject(const std::string &Path,
if (I == BinaryForPath.end()) {
Expected<OwningBinary<Binary>> BinOrErr = createBinary(Path);
if (!BinOrErr) {
BinaryForPath.insert({Path, OwningBinary<Binary>()});
BinaryForPath.emplace(Path, OwningBinary<Binary>());
return BinOrErr.takeError();
}
Bin = BinOrErr->getBinary();