summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2024-02-08 02:31:50 -0800
committer Ryan Prichard <rprichard@google.com> 2024-02-12 19:58:08 -0800
commit3b17f284fdc343f28c0735ceb547ba82fb424de9 (patch)
treecc236067ada2cb081b55b1ac61aa4b9e37d566eb /libs/input/KeyLayoutMap.cpp
parent66bbdd233ebdb6f36c7fe0a1fc555bddd5c13ab1 (diff)
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
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions