diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-09 07:59:21 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-09 07:59:21 +0200 |
commit | 92124b599a4de4ea072bc80156bd7d1da53d2ef4 (patch) | |
tree | 93bc0a1b5a599be32c8fec4dbc88ab1890ccc4bd /src/point.hpp | |
parent | 3a16258e42b6f198c2fb4bfde45c66ee405adac4 (diff) |
a
Diffstat (limited to 'src/point.hpp')
-rw-r--r-- | src/point.hpp | 3 |
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 |