summaryrefslogtreecommitdiffhomepage
path: root/src/point.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-09 07:59:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-09 07:59:21 +0200
commit92124b599a4de4ea072bc80156bd7d1da53d2ef4 (patch)
tree93bc0a1b5a599be32c8fec4dbc88ab1890ccc4bd /src/point.hpp
parent3a16258e42b6f198c2fb4bfde45c66ee405adac4 (diff)
a
Diffstat (limited to 'src/point.hpp')
-rw-r--r--src/point.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/point.hpp b/src/point.hpp
index 99c4acdf..b24f1015 100644
--- a/src/point.hpp
+++ b/src/point.hpp
@@ -1,5 +1,6 @@
#pragma once
#include "global-coords.hpp"
+#include <Corrade/Utility/Move.h>
#include <compare>
namespace floormat {
@@ -12,6 +13,8 @@ struct point
constexpr bool operator==(const point&) const = default;
friend constexpr std::strong_ordering operator<=>(const point& a, const point& b) noexcept;
+
+ friend Debug& operator<<(Debug& dbg, const point& pt);
};
constexpr std::strong_ordering operator<=>(const point& p1, const point& p2) noexcept