summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/point.cpp8
-rw-r--r--src/point.hpp1
2 files changed, 0 insertions, 9 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 << "";
diff --git a/src/point.hpp b/src/point.hpp
index 285d2f30..8d40992b 100644
--- a/src/point.hpp
+++ b/src/point.hpp
@@ -32,7 +32,6 @@ struct point
constexpr Vector2b offset() const;
template<size_t N> std::tuple_element_t<N, point> constexpr get() const;
- size_t hash() const;
friend Debug& operator<<(Debug& dbg, const point& pt);
static constexpr uint32_t distance(point a, point b);