summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/CoreDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Driver/CoreDriver.cpp')
-rw-r--r--lld/lib/Driver/CoreDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Driver/CoreDriver.cpp b/lld/lib/Driver/CoreDriver.cpp
index 4a16b0202f4..1a495771789 100644
--- a/lld/lib/Driver/CoreDriver.cpp
+++ b/lld/lib/Driver/CoreDriver.cpp
@@ -153,7 +153,7 @@ bool CoreDriver::parse(int argc, const char *argv[], CoreLinkingContext &ctx,
std::vector<std::unique_ptr<File>> files
= loadFile(ctx, inputArg->getValue(), false);
for (std::unique_ptr<File> &file : files) {
- inputGraph->members().push_back(std::unique_ptr<InputElement>(
+ inputGraph->members().push_back(std::unique_ptr<Node>(
new FileNode(std::move(file))));
}
break;
OpenPOWER on IntegriCloud