Remove unnecessary cast.

llvm-svn: 299740
This commit is contained in:
Rafael Espindola 2017-04-07 01:25:01 +00:00
parent 78495ea7c0
commit 7f91d44fba
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ LinkerScript::createInputSectionList(OutputSectionCommand &OutCmd) {
Cmd->Sections = computeInputSections(Cmd);
for (InputSectionBase *S : Cmd->Sections)
Ret.push_back(static_cast<InputSectionBase *>(S));
Ret.push_back(S);
}
return Ret;