aboutsummaryrefslogtreecommitdiffstats
path: root/include/lld/ReaderWriter/MachOLinkingContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lld/ReaderWriter/MachOLinkingContext.h')
-rw-r--r--include/lld/ReaderWriter/MachOLinkingContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lld/ReaderWriter/MachOLinkingContext.h b/include/lld/ReaderWriter/MachOLinkingContext.h
index f48ad77053e5..a950fd5b18e5 100644
--- a/include/lld/ReaderWriter/MachOLinkingContext.h
+++ b/include/lld/ReaderWriter/MachOLinkingContext.h
@@ -101,7 +101,7 @@ public:
auto file = std::unique_ptr<T>(new T(std::forward<Args>(args)...));
auto *filePtr = file.get();
auto *ctx = const_cast<MachOLinkingContext *>(this);
- ctx->getNodes().push_back(llvm::make_unique<FileNode>(std::move(file)));
+ ctx->getNodes().push_back(std::make_unique<FileNode>(std::move(file)));
return filePtr;
}