Skip to content

Commit

Permalink
Remove constexpr, because it needs to be everywhere or nowhere
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Dec 11, 2016
1 parent aa6ee42 commit b5d2513
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/color.hpp
Expand Up @@ -19,7 +19,6 @@
#include <ostream>
#include <string>
#include <utility>
#include "global.hpp"

struct SDL_Color;

Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit b5d2513

Please sign in to comment.