From 4acff4056f6d8d01b630d44ba23db8b9f07cf80d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 21 Dec 2004 03:24:02 +0000 Subject: [PATCH] Use explicit construction of sys::Path from std::string because the constructor is "explicit". llvm-svn: 19078 --- llvm/tools/gccld/gccld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp index 91f206b238f4..d33d64a01d68 100644 --- a/llvm/tools/gccld/gccld.cpp +++ b/llvm/tools/gccld/gccld.cpp @@ -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