diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-10-28 20:19:36 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-10-28 20:19:36 +0000 |
| commit | a9272314b9c3cec9a1af4a22e9a7384083f753a7 (patch) | |
| tree | 4f42c0c674b939168d3a447e16465cd8620ac058 /libcxx/src | |
| parent | 2cdd53253285e44fd3dd24fce883716a8a9f51a9 (diff) | |
| download | bcm5719-llvm-a9272314b9c3cec9a1af4a22e9a7384083f753a7.tar.gz bcm5719-llvm-a9272314b9c3cec9a1af4a22e9a7384083f753a7.zip | |
Fix Clang 3.6 build error
llvm-svn: 285445
Diffstat (limited to 'libcxx/src')
| -rw-r--r-- | libcxx/src/experimental/filesystem/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/experimental/filesystem/path.cpp b/libcxx/src/experimental/filesystem/path.cpp index 64da30217fb..bdd0a68c97e 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 {}; } |

