1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

LibGfx: Add initializer for ICC::DistinctFourCC

These are currently only used in Optional<>s, so this is no effective
behavior change.
This commit is contained in:
Nico Weber 2023-01-08 13:14:23 -05:00 committed by Linus Groh
parent db02cf2aa8
commit b8bfefd130

View file

@ -27,7 +27,7 @@ enum class FourCCType {
template<FourCCType type>
struct DistinctFourCC {
u32 value;
u32 value { 0 };
char c0() const { return value >> 24; }
char c1() const { return (value >> 16) & 0xff; }