diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-10-12 23:00:44 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-10-12 23:00:44 +0300 |
commit | 60e19ea9ea49e790ab32b92c515f1f55dd21d692 (patch) | |
tree | dfd7a2d69c08451b95b8c5afee463f01033fe67c /programs/illegal-codepoints | |
parent | dfc6285db4909717009cbed6243209586b3581e8 (diff) |
Fix programs build becoming broken from path_view changes.
Fix libc++ having crap char8_t support build failure.
Diffstat (limited to 'programs/illegal-codepoints')
-rw-r--r-- | programs/illegal-codepoints/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/illegal-codepoints/main.cpp b/programs/illegal-codepoints/main.cpp index 0b75f1c4..47819168 100644 --- a/programs/illegal-codepoints/main.cpp +++ b/programs/illegal-codepoints/main.cpp @@ -6146,7 +6146,7 @@ int main() buffer[1] = (llfio::filesystem::path::value_type) n; buffer[2] = 'z'; buffer[3] = 0; - llfio::path_view leaf(buffer, 3, true); + llfio::path_view leaf(buffer, 3, llfio::path_view::zero_terminated); auto h = llfio::file(testdir, leaf, llfio::file_handle::mode::write, llfio::file_handle::creation::if_needed); if(h) { |