diff --git a/src/color.hpp b/src/color.hpp index 63ed890c5e43..f50611b07360 100644 --- a/src/color.hpp +++ b/src/color.hpp @@ -19,7 +19,6 @@ #include #include #include -#include "global.hpp" struct SDL_Color; @@ -225,7 +224,7 @@ struct color_t }; } - CONSTEXPR color_t inverse() const { + color_t inverse() const { return { static_cast(255 - r), static_cast(255 - g),