diff --git a/hid-rp/hid/usage.hpp b/hid-rp/hid/usage.hpp index 64a204f..c04d29e 100644 --- a/hid-rp/hid/usage.hpp +++ b/hid-rp/hid/usage.hpp @@ -68,7 +68,7 @@ class usage_t constexpr page_id_t page_id() const { return value_ >> 16; } constexpr usage_id_t id() const { return value_ & std::numeric_limits::max(); } - constexpr bool operator<=>(const usage_t&) const = default; + constexpr auto operator<=>(const usage_t&) const = default; private: type value_;