Correct comment SIZE_MAX to UINT16_MAX

This commit is contained in:
Rangi
2026-05-25 13:55:12 -04:00
parent 72a410c007
commit 43ffc89bb4
+1 -1
View File
@@ -12,7 +12,7 @@ public:
static constexpr size_t capacity = 4;
private:
// Up to 4 colors, sorted, and where SIZE_MAX means the slot is empty
// Up to 4 colors, sorted, and where UINT16_MAX means the slot is empty
// (OK because it's not a valid color index)
// Sorting is done on the raw numerical values to lessen `compare`'s complexity
std::array<uint16_t, capacity> _colorIndices{UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX};