commit | 75709329774ba0596bcd99abe4037dacfe28a053 | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@google.com> | Sat Nov 17 01:44:25 2018 +0000 |
committer | Fangrui Song <maskray@google.com> | Sat Nov 17 01:44:25 2018 +0000 |
tree | ec75e41ad7e05d81e381911b019f605d019ff5fe | |
parent | a900471d58fda9c5c68b0177b912a3ea174b5d18 [diff] [blame] |
Use llvm::copy. NFC llvm-svn: 347126
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index 7eba596..a3e6941 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp
@@ -533,7 +533,7 @@ // If prefixes have the same size we can simply copy the new one over. if (OldPrefix.size() == NewPrefix.size()) { - std::copy(NewPrefix.begin(), NewPrefix.end(), Path.begin()); + llvm::copy(NewPrefix, Path.begin()); return; }