diff options
Diffstat (limited to 'src/wall-atlas.hpp')
| -rw-r--r-- | src/wall-atlas.hpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/wall-atlas.hpp b/src/wall-atlas.hpp index e0203165..20dd2a84 100644 --- a/src/wall-atlas.hpp +++ b/src/wall-atlas.hpp @@ -53,19 +53,13 @@ struct Direction bool operator==(const Direction&) const noexcept; - static constexpr inline member_tuple groups[] = { + static constexpr member_tuple groups[] = { { "wall"_s, &Direction::wall, Group_::wall }, { "side"_s, &Direction::side, Group_::side }, { "top"_s, &Direction::top, Group_::top }, { "corner"_s, &Direction::corner, Group_::corner }, }; - static_assert(array_size(groups) == (size_t)Group_::COUNT); - - static constexpr inline member_tuple groups_for_draw[] = { - { "wall"_s, &Direction::wall, Group_::wall }, - { "side"_s, &Direction::side, Group_::side }, - { "top"_s, &Direction::top, Group_::top }, - }; + static_assert(array_size(groups) + /*pillar 1 */ 0 == (size_t)Group_::COUNT); }; struct Info |
