Put CopyFile in the sys namespace.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 23 Dec 2004 22:14:32 +0000 (22:14 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 23 Dec 2004 22:14:32 +0000 (22:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19122 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Path.cpp
lib/System/Win32/Path.inc

index 9141ce086f2f93383f0ee1f7493a43c29375cd55..c50877afb1aca41755bec8358ba51e7c794c1236 100644 (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() + "'");
index 9141ce086f2f93383f0ee1f7493a43c29375cd55..c50877afb1aca41755bec8358ba51e7c794c1236 100644 (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() + "'");