summaryrefslogtreecommitdiffhomepage
path: root/src/tile-image.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile-image.hpp')
-rw-r--r--src/tile-image.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tile-image.hpp b/src/tile-image.hpp
index 06d0cb41..6c90a2d5 100644
--- a/src/tile-image.hpp
+++ b/src/tile-image.hpp
@@ -13,12 +13,8 @@ struct tile_image final
std::uint16_t variant = (std::uint16_t)-1;
explicit operator bool() const noexcept { return !!atlas; }
-
- std::strong_ordering operator<=>(const tile_image& o) const noexcept
- {
- const auto ret = atlas.get() <=> o.atlas.get();
- return ret != std::strong_ordering::equal ? ret : variant <=> o.variant;
- }
};
+bool operator==(const tile_image& a, const tile_image& b) noexcept;
+
} // namespace floormat