Remove constexpr on rgb_array_wrapper::operator[]

OS X clang (but not Linux clang) rejects constexpr
on rgb_array_wrapper::operator[].

Reported-by: btb <b414758505 (commitcomment-10330686)>
Fixes: b414758505 ("Add stub for player color remapping")
This commit is contained in:
Kp 2015-03-21 21:11:12 +00:00
parent e7470731e9
commit 3da8a85ec3

View file

@ -82,7 +82,7 @@ extern const rgb_array_t player_rgb_normal;
class rgb_array_wrapper
{
public:
constexpr const rgb &operator[](std::size_t i) const
const rgb &operator[](std::size_t i) const
{
return player_rgb_normal[i];
}