diff options
author | Norbert Preining <norbert@preining.info> | 2023-06-08 03:01:59 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-06-08 03:01:59 +0000 |
commit | 538e6d6e7c75b7cca5470604811205f9dbd55c03 (patch) | |
tree | 4807afb694acc9e4ecff2d466d5e37788127d6fb /graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h | |
parent | 5c99135c06494b236cce7fd76e346851cf8c4408 (diff) |
CTAN sync 202306080301
Diffstat (limited to 'graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h')
-rw-r--r-- | graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h b/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h index 0205f12796..39b12b7c93 100644 --- a/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h +++ b/graphics/asymptote/LspCpp/third_party/utfcpp/source/utf8/cpp17.h @@ -70,7 +70,7 @@ namespace utf8 inline std::size_t find_invalid(std::string_view s) { std::string_view::const_iterator invalid = find_invalid(s.begin(), s.end()); - return (invalid == s.end()) ? std::string_view::npos : (invalid - s.begin()); + return (invalid == s.end()) ? std::string_view::npos : static_cast<std::size_t>(invalid - s.begin()); } inline bool is_valid(std::string_view s) |