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

Commit 65d03e4d authored by Nick Desaulniers's avatar Nick Desaulniers
Browse files

[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: default avatarNick Desaulniers <ndesaulniers@google.com>
parent ca255c29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;