mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Put CopyFile in the sys namespace.
llvm-svn: 19122
This commit is contained in:
parent
0424fc40fa
commit
5885a388b8
@ -573,7 +573,7 @@ bool Path::getMagicNumber(std::string& Magic, unsigned len) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
CopyFile(const sys::Path &Dest, const sys::Path &Src) {
|
sys::CopyFile(const sys::Path &Dest, const sys::Path &Src) {
|
||||||
if (!::CopyFile(Src.c_str(), Dest.c_str(), false))
|
if (!::CopyFile(Src.c_str(), Dest.c_str(), false))
|
||||||
ThrowError("Can't copy '" + Src.toString() +
|
ThrowError("Can't copy '" + Src.toString() +
|
||||||
"' to '" + Dest.toString() + "'");
|
"' to '" + Dest.toString() + "'");
|
||||||
|
Loading…
Reference in New Issue
Block a user