forked from OSchip/llvm-project
[Hexagon] Use back_inserter as target iterator in std::copy
llvm-svn: 256934
This commit is contained in:
parent
ee8fb302f5
commit
f4467cd1cd
|
@ -2611,7 +2611,8 @@ void HexagonToolChain::getHexagonLibraryPaths(const ArgList &Args,
|
|||
// Other standard paths
|
||||
//----------------------------------------------------------------------------
|
||||
std::vector<std::string> RootDirs;
|
||||
std::copy(D.PrefixDirs.begin(), D.PrefixDirs.end(), RootDirs.begin());
|
||||
std::copy(D.PrefixDirs.begin(), D.PrefixDirs.end(),
|
||||
std::back_inserter(RootDirs));
|
||||
|
||||
std::string TargetDir = getHexagonTargetDir(D.getInstalledDir(),
|
||||
D.PrefixDirs);
|
||||
|
|
Loading…
Reference in New Issue