From: Daniel Dunbar Date: Fri, 18 Dec 2009 19:59:48 +0000 (+0000) Subject: Fix Win32 Path.inc for API update. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1edcafe10f05ba17dd1fbf36713fb40f98eca03a;p=oota-llvm.git Fix Win32 Path.inc for API update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91706 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 55b4376d73d..b5f63743c9c 100644 --- a/lib/System/Win32/Path.inc +++ b/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); }