From b5d25135fcf586a629657c0a5b6478a68661cd62 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 11 Dec 2016 00:38:00 -0500 Subject: [PATCH] Remove constexpr, because it needs to be everywhere or nowhere --- src/color.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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),