[Driver] Remove the redundant cast.
No functional changes. llvm-svn: 207688
This commit is contained in:
parent
e33f2add5d
commit
76d8d36c3c
|
@ -88,7 +88,7 @@ error_code ELFGNULdScript::parse(const LinkingContext &ctx,
|
||||||
_elfLinkingContext, _elfLinkingContext.allocateString(path._path),
|
_elfLinkingContext, _elfLinkingContext.allocateString(path._path),
|
||||||
attributes);
|
attributes);
|
||||||
std::unique_ptr<InputElement> inputFile(inputNode);
|
std::unique_ptr<InputElement> inputFile(inputNode);
|
||||||
cast<Group>(groupStart.get())->addFile(std::move(inputFile));
|
groupStart.get()->addFile(std::move(inputFile));
|
||||||
}
|
}
|
||||||
_expandElements.push_back(std::move(groupStart));
|
_expandElements.push_back(std::move(groupStart));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue