diff options
| author | 2023-08-31 00:00:47 -0700 | |
|---|---|---|
| committer | 2023-10-05 21:58:41 +0000 | |
| commit | fd16fa82690a91545a125c58d65726439264ba75 (patch) | |
| tree | a6fc848d4bbf47b18c587a1e7d8b9bf800e37d58 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | f408312f403e4c42008d6d1469c2de59718d936d (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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5a8af506b234685a0749b5753ba205c06688f870)
Merged-In: I96ccf6d5b54d4118b096f97c901073b4fc2f6f9f
Change-Id: I96ccf6d5b54d4118b096f97c901073b4fc2f6f9f
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions