lld/MachO: Remove a useless temporary

This commit is contained in:
Nico Weber 2020-07-02 00:04:51 -04:00
parent c9f251aa6f
commit 7be1661fc6

View File

@ -178,8 +178,7 @@ static void addFile(StringRef path) {
if (!result)
return;
std::unique_ptr<llvm::MachO::InterfaceFile> interface{std::move(*result)};
inputFiles.push_back(make<DylibFile>(std::move(interface)));
inputFiles.push_back(make<DylibFile>(std::move(*result)));
break;
}
default: