1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:17:44 +00:00

LibGfx: Make ICC EMatrix3x3::operator[] a bit less silly

This commit is contained in:
Nico Weber 2023-01-28 21:44:28 -05:00 committed by Linus Groh
parent 1329799d20
commit bd4078ad45

View file

@ -89,9 +89,9 @@ private:
struct EMatrix3x3 {
S15Fixed16 e[9];
S15Fixed16 const& operator[](int i) const
S15Fixed16 const& operator[](unsigned i) const
{
VERIFY(i >= 0 && i < 9);
VERIFY(i < array_size(e));
return e[i];
}
};