diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-08 13:19:22 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-08 13:19:22 +0200 |
commit | 877b57d026d0e1d990a33c42e944bc25df9bd10a (patch) | |
tree | 4d9d650164417ea909e2e4d28fcc5efba3ce1cb5 /src/point.cpp | |
parent | 461481e6bb8149c07121eb85a984e6393fa2b80d (diff) |
src: remove point::hash()
Diffstat (limited to 'src/point.cpp')
-rw-r--r-- | src/point.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/point.cpp b/src/point.cpp index a8486fb7..a4d1074d 100644 --- a/src/point.cpp +++ b/src/point.cpp @@ -1,16 +1,8 @@ -#include "compat/hash.hpp" #include "point.inl" #include "tile-constants.hpp" namespace floormat { -size_t point::hash() const -{ - constexpr size_t size = 2 * 2 + 1 + 1 + 2; - static_assert(sizeof *this == size); - return hash_buf(this, sizeof *this); -} - Debug& operator<<(Debug& dbg, const point& pt) { dbg << ""; |