diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-10-08 14:04:31 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-10-08 14:04:31 +0300 |
commit | 04826c2e67404ec63782a0025b929c7d717ea1fd (patch) | |
tree | b52837073da8c390ead9ef0e8399da17f245bc47 /programs | |
parent | e8f25ff3646124c4090a3413bfb43751b680a3ff (diff) |
Long, long round of refactoring path_view to match latest P1030 draft normative wording. Not done yet however, so this is a wip commit.
Diffstat (limited to 'programs')
-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 9babcf16..0b75f1c4 100644 --- a/programs/illegal-codepoints/main.cpp +++ b/programs/illegal-codepoints/main.cpp @@ -6170,7 +6170,7 @@ int main() auto &entry = entries[n]; if(entry.second == status::created) { - if(item.leafname == llfio::path_view(entry.first.data(), 3, true)) + if(item.leafname == llfio::path_view(entry.first.data(), 3, llfio::path_view::zero_terminated)) { entry.second = status::found; break; |