summaryrefslogtreecommitdiffhomepage
path: root/src/local-coords.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-28 03:13:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-28 03:13:34 +0200
commitb93ec1eee7d3199ecd1fa8bf2061622ede93a98c (patch)
tree39fc74a140bc2ed5650ddf01246e0b15d56d601c /src/local-coords.hpp
parentf06c0132a361a754fbe593f9e54c2201bce116b3 (diff)
some random crap
Diffstat (limited to 'src/local-coords.hpp')
-rw-r--r--src/local-coords.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local-coords.hpp b/src/local-coords.hpp
index 1e7fbbed..2d449aae 100644
--- a/src/local-coords.hpp
+++ b/src/local-coords.hpp
@@ -28,7 +28,7 @@ requires (sizeof(T) <= sizeof(std::size_t))
constexpr local_coords::local_coords(T x, T y) noexcept
: x{(std::uint8_t)x}, y{(std::uint8_t)y}
{
- fm_assert(static_cast<std::size_t>(x) < TILE_MAX_DIM && static_cast<std::size_t>(y) < TILE_MAX_DIM);
+ fm_assert((std::size_t)x < TILE_MAX_DIM && (std::size_t)y < TILE_MAX_DIM);
}
} // namespace floormat