From cf7744e44d0a1562339cb7d35f3a25e7fae5392b Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 18 Dec 2009 19:59:48 +0000 Subject: Fix Win32 Path.inc for API update. llvm-svn: 91706 --- llvm/lib/System/Win32/Path.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/System/Win32') diff --git a/llvm/lib/System/Win32/Path.inc b/llvm/lib/System/Win32/Path.inc index 55b4376d73d..b5f63743c9c 100644 --- a/llvm/lib/System/Win32/Path.inc +++ b/llvm/lib/System/Win32/Path.inc @@ -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); } -- cgit v1.2.3