diff --git a/include/libhat/Scanner.hpp b/include/libhat/Scanner.hpp index 3a10a44..80b3eda 100644 --- a/include/libhat/Scanner.hpp +++ b/include/libhat/Scanner.hpp @@ -84,7 +84,7 @@ namespace hat { return this->result; } - [[nodiscard]] constexpr bool operator==(const scan_result_base&) const noexcept = default; + [[nodiscard]] constexpr auto operator<=>(const scan_result_base&) const noexcept = default; private: T result; };