Skip to content

Commit

Permalink
Default spaceship for scan_result_base
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemes committed Oct 9, 2024
1 parent bd089fb commit 51ae936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libhat/Scanner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 51ae936

Please sign in to comment.