diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-23 22:14:32 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-23 22:14:32 +0000 |
commit | a36c9a4dd3658061951364ee03e2e64735fa2aa2 (patch) | |
tree | 6a63566d053311726a28687b5aa4de1b3a9ae8ab /lib/System/Win32/Path.cpp | |
parent | 4d099f7d6c35bed19a0658c121afda790df01f88 (diff) |
Put CopyFile in the sys namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32/Path.cpp')
-rw-r--r-- | lib/System/Win32/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/Path.cpp b/lib/System/Win32/Path.cpp index 9141ce086f..c50877afb1 100644 --- a/lib/System/Win32/Path.cpp +++ b/lib/System/Win32/Path.cpp @@ -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() + "'"); |