1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Put CopyFile in the sys namespace.

llvm-svn: 19122
This commit is contained in:
Reid Spencer 2004-12-23 22:14:32 +00:00
parent 0424fc40fa
commit 5885a388b8

View File

@ -573,7 +573,7 @@ bool Path::getMagicNumber(std::string& Magic, unsigned len) const {
}
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))
ThrowError("Can't copy '" + Src.toString() +
"' to '" + Dest.toString() + "'");