Skip to content

Commit

Permalink
refactor: magnitude::op==() now uses our own is_same_v
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Oct 9, 2024
1 parent 2b1e7ed commit f1590b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/include/mp-units/framework/magnitude.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f1590b0

Please sign in to comment.