refactor: magnitude::op==() now uses our own is_same_v

This commit is contained in:
Mateusz Pusz
2024-10-09 17:28:04 +02:00
parent 2b1e7edd69
commit f1590b0f04

View File

@@ -430,7 +430,7 @@ struct magnitude : detail::magnitude_base<magnitude<Ms...>> {
template<Magnitude M2> template<Magnitude M2>
[[nodiscard]] friend consteval bool operator==(magnitude, M2) [[nodiscard]] friend consteval bool operator==(magnitude, M2)
{ {
return std::is_same_v<magnitude, M2>; return is_same_v<magnitude, M2>;
} }
private: private: