summaryrefslogtreecommitdiff
path: root/libs/gui/FrameRateUtils.cpp
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2023-10-05 14:52:00 -0700
committer Ryan Prichard <rprichard@google.com> 2023-10-16 22:13:19 -0700
commit841b07c666cd03f478e206a934e8393a2db8f703 (patch)
tree2568d43bcc213478f2f860cbab30fedd3c857693 /libs/gui/FrameRateUtils.cpp
parenta527c67cfadab12ba260fd868c154646ccd701d3 (diff)
input: handle change in std::span::size type
The pre-standardized version of std::span in external/libcxx had a ptrdiff_t size, but the finalized std::span has a size_t size instead. Also, the std::span::index_type typedef is renamed to size_type. Use an old-style constructor call to implicitly coerce the size value to the proper type. Insert a cast to avoid a signedness comparison warning. Bug: b/175635923 Test: treehugger Change-Id: I96ccf6d5b54d4118b096f97c901073b4fc2f6f9f Merged-In: I96ccf6d5b54d4118b096f97c901073b4fc2f6f9f
Diffstat (limited to 'libs/gui/FrameRateUtils.cpp')
0 files changed, 0 insertions, 0 deletions