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 e50986b39f
commit c84ee1aee0
1 changed files with 1 additions and 1 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() + "'");