mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
[hardware][interfaces][sensors] fix -Wreorder-init-list again
C++20 will require members in a designated initializer to be in order unlike C99. This snuck in because I haven't upgraded the platform toolchain yet. Bug: 139945549 Test: mm Change-Id: Ica2844a213467e41d9b6a8955f1750692da8b444 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
This commit is contained in:
@@ -147,8 +147,8 @@ BufferDescriptor GrallocHalWrapper<AllocatorT, MapperT>::getDescriptor(uint32_t
|
||||
.width = size,
|
||||
.height = 1,
|
||||
.layerCount = 1,
|
||||
.format = static_cast<decltype(descriptorInfo.format)>(PixelFormat::BLOB),
|
||||
.usage = kBufferUsage,
|
||||
.format = static_cast<decltype(descriptorInfo.format)>(PixelFormat::BLOB),
|
||||
};
|
||||
|
||||
BufferDescriptor descriptor;
|
||||
|
||||
Reference in New Issue
Block a user