mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
refactor: magnitude::op==()
now uses our own is_same_v
This commit is contained in:
@@ -430,7 +430,7 @@ struct magnitude : detail::magnitude_base<magnitude<Ms...>> {
|
||||
template<Magnitude M2>
|
||||
[[nodiscard]] friend consteval bool operator==(magnitude, M2)
|
||||
{
|
||||
return std::is_same_v<magnitude, M2>;
|
||||
return is_same_v<magnitude, M2>;
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user