llvm.org GIT mirror llvm / fd3b149
Fix non-Windows build when inserting a move only type into a map git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271727 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
324324 if (I == BinaryForPath.end()) {
325325 Expected> BinOrErr = createBinary(Path);
326326 if (!BinOrErr) {
327 BinaryForPath.insert({Path, OwningBinary()});
327 BinaryForPath.emplace(Path, OwningBinary());
328328 return BinOrErr.takeError();
329329 }
330330 Bin = BinOrErr->getBinary();