From a9272314b9c3cec9a1af4a22e9a7384083f753a7 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 28 Oct 2016 20:19:36 +0000 Subject: [PATCH] Fix Clang 3.6 build error llvm-svn: 285445 --- libcxx/src/experimental/filesystem/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/src/experimental/filesystem/path.cpp b/libcxx/src/experimental/filesystem/path.cpp index 64da302..bdd0a68 100644 --- a/libcxx/src/experimental/filesystem/path.cpp +++ b/libcxx/src/experimental/filesystem/path.cpp @@ -283,7 +283,7 @@ string_view_t path::__root_path_raw() const if (!parser::good(e)) e = parser::root_name_end(__pn_); if (parser::good(e)) - return string_view_t{__pn_}.substr(0, e + 1); + return string_view_t(__pn_).substr(0, e + 1); return {}; } -- 2.7.4