[Driver] Remove the redundant cast.

No functional changes.

llvm-svn: 207688
This commit is contained in:
Simon Atanasyan 2014-04-30 19:03:45 +00:00
parent e33f2add5d
commit 76d8d36c3c
1 changed files with 1 additions and 1 deletions

View File

@ -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));
} }