Skip to content

Commit 9714785

Browse files
johnno1962ellishg
andauthored
Update lld/MachO/Driver.cpp
Co-authored-by: Ellis Hoag <[email protected]>
1 parent 890c492 commit 9714785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MachO/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ static void deferFile(StringRef path, bool isLazy, DeferredFiles &deferred) {
536536
if (!buffer)
537537
return;
538538
if (config->readThreads)
539-
deferred.push_back({path, isLazy, *buffer});
539+
deferred.emplace_back(path, isLazy, *buffer);
540540
else
541541
processFile(buffer, nullptr, path, LoadType::CommandLine, isLazy);
542542
}

0 commit comments

Comments
 (0)