From 43ffc89bb4b6c71ffb05684ddb6044777eb247e3 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 25 May 2026 13:55:12 -0400 Subject: [PATCH] Correct comment `SIZE_MAX` to `UINT16_MAX` --- include/gfx/color_set.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gfx/color_set.hpp b/include/gfx/color_set.hpp index 3003e09a..c49d67c0 100644 --- a/include/gfx/color_set.hpp +++ b/include/gfx/color_set.hpp @@ -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 _colorIndices{UINT16_MAX, UINT16_MAX, UINT16_MAX, UINT16_MAX};