Use explicit construction of sys::Path from std::string because the

constructor is "explicit".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19078 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-12-21 03:24:02 +00:00
parent c24e94e6b5
commit 682084a157

View File

@ -124,7 +124,7 @@ static void EmitShellScript(char **argv) {
std::cerr << "Could not find llvm-stub.exe executable!\n";
exit(1);
}
sys::CopyFile(OutputFilename, llvmstub);
sys::CopyFile(sys::Path(OutputFilename), sys::Path(llvmstub));
return;
#endif