Put CopyFile in the sys namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-12-23 22:14:32 +00:00
parent 4d099f7d6c
commit a36c9a4dd3
2 changed files with 2 additions and 2 deletions

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() + "'");

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() + "'");