mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
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:
parent
4d099f7d6c
commit
a36c9a4dd3
@ -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() + "'");
|
||||
|
@ -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() + "'");
|
||||
|
Loading…
x
Reference in New Issue
Block a user