projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdd532
)
Fix Clang 3.6 build error
author
Eric Fiselier
<eric@efcs.ca>
Fri, 28 Oct 2016 20:19:36 +0000
(20:19 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Fri, 28 Oct 2016 20:19:36 +0000
(20:19 +0000)
llvm-svn: 285445
libcxx/src/experimental/filesystem/path.cpp
patch
|
blob
|
history
diff --git
a/libcxx/src/experimental/filesystem/path.cpp
b/libcxx/src/experimental/filesystem/path.cpp
index 64da30217fbd1cdbd6f0ee96d029be7b67319133..bdd0a68c97e974da1207a55d7a8d2ddcfe42cd17 100644
(file)
--- 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 {};
}