From 80fd2a1972fa1955cdea1bf2a37b47659331870c Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 8 Feb 2012 13:13:47 +0000 Subject: [PATCH] PathV2: Remove static StringRef ctors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150071 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/PathV2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index 7cc434bde74..f0ce331c782 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -24,11 +24,11 @@ namespace { using llvm::sys::path::is_separator; #ifdef LLVM_ON_WIN32 - const StringRef separators = "\\/"; - const char prefered_separator = '\\'; + const char *separators = "\\/"; + const char prefered_separator = '\\'; #else - const StringRef separators = "/"; - const char prefered_separator = '/'; + const char separators = '/'; + const char prefered_separator = '/'; #endif const llvm::error_code success; -- 2.34.1