Remove constexpr, because it needs to be everywhere or nowhere

This commit is contained in:
Celtic Minstrel 2016-12-11 00:38:00 -05:00
parent aa6ee42db5
commit b5d25135fc

View file

@ -19,7 +19,6 @@
#include <ostream>
#include <string>
#include <utility>
#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<uint8_t>(255 - r),
static_cast<uint8_t>(255 - g),