Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3b17f284 authored by Ryan Prichard's avatar Ryan Prichard
Browse files

ui: use std::span instead of std::basic_string_view<uint8_t>

The string classes are only defined for character types, and
std::basic_string_view<uint8_t> has been removed now. See
https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779.

Cast std::span<T>::size() to size_t because the WIP std::span::size()
has a ptrdiff_t return type instead of size_t.

Bug: 175635923
Test: m MODULES-IN-frameworks-native-libs-ui
Change-Id: I156f1032191c74cc7c3f6b0cdb7dc0393e9e906f
parent 66bbdd23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment