Fix Clang 3.6 build error
authorEric Fiselier <eric@efcs.ca>
Fri, 28 Oct 2016 20:19:36 +0000 (20:19 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 28 Oct 2016 20:19:36 +0000 (20:19 +0000)
llvm-svn: 285445

libcxx/src/experimental/filesystem/path.cpp

index 64da302..bdd0a68 100644 (file)
@@ -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 {};
 }