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:
parent
e7470731e9
commit
3da8a85ec3
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue