From: Reid Spencer Date: Tue, 21 Dec 2004 03:24:02 +0000 (+0000) Subject: Use explicit construction of sys::Path from std::string because the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=682084a15791fd48f64c08d3f74fa7faac9ecd19;p=oota-llvm.git 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 --- diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 91f206b238f..d33d64a01d6 100644 --- a/tools/gccld/gccld.cpp +++ b/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