Fix Win32 Path.inc for API update.
[oota-llvm.git] / 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);
 }