From 7fb866643e76dc598473b666439a42a11d97a58c Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 17 Dec 2010 18:59:09 +0000 Subject: Missed some StringRefRefs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122077 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/PathV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/PathV2.cpp') diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index 2a4c4588a3..6e248771ef 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -39,7 +39,7 @@ namespace { const llvm::error_code success; - StringRef find_first_component(const StringRef &path) { + StringRef find_first_component(StringRef path) { // Look for this first component in the following order. // * empty (in this case we return an empty string) // * either C: or {//,\\}net. -- cgit v1.2.3-18-g5258