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:
parent
920dd45c92
commit
169346bb55
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user