Fix Win32 Path.inc for API update.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 18 Dec 2009 19:59:48 +0000 (19:59 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 18 Dec 2009 19:59:48 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91706 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Path.inc

index 55b4376d73d8f1eba9cac79c06982a43829548ac..b5f63743c9c97691f5a56b09f4bccaccfe5818ef 100644 (file)
@@ -47,7 +47,7 @@ namespace llvm {
 namespace sys {
 const char PathSeparator = ';';
 
-Path::Path(const std::string& p)
+Path::Path(llvm::StringRef p)
   : path(p) {
   FlipBackSlashes(path);
 }