diff options
Diffstat (limited to 'src/rotation.hpp')
-rw-r--r-- | src/rotation.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rotation.hpp b/src/rotation.hpp index 39694336..471007c3 100644 --- a/src/rotation.hpp +++ b/src/rotation.hpp @@ -1,5 +1,4 @@ #pragma once -#include <cstddef> namespace floormat { @@ -7,8 +6,8 @@ enum class rotation : unsigned char { N, NE, E, SE, S, SW, W, NW, }; -constexpr inline std::size_t rotation_BITS = 3; -constexpr inline std::size_t rotation_MASK = (1 << rotation_BITS)-1; +constexpr inline size_t rotation_BITS = 3; +constexpr inline size_t rotation_MASK = (1 << rotation_BITS)-1; constexpr inline rotation rotation_COUNT = rotation{1 << rotation_BITS}; } // namespace floormat |