1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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

constructor is "explicit".

llvm-svn: 19078
This commit is contained in:
Reid Spencer 2004-12-21 03:24:02 +00:00
parent 85557cf915
commit f0859d5e54

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