Skip to content

Commit

Permalink
fix: not enough changes were commited in one of the previous commits
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Aug 24, 2023
1 parent 1bc6fde commit 85b6dd0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/include/mp-units/bits/quantity_cast.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ namespace mp_units {
template<QuantitySpec auto ToQS, typename Q>
requires Quantity<std::remove_cvref_t<Q>> && (castable(Q::quantity_spec, ToQS))
[[nodiscard]] constexpr Quantity auto quantity_cast(Q&& q)
requires Quantity<std::remove_cvref_t<Q>> && (castable(q.quantity_spec, ToQS))
{
if constexpr (detail::QuantityKindSpec<std::remove_const_t<decltype(ToQS)>> &&
AssociatedUnit<std::remove_const_t<decltype(Q::unit)>>)
Expand Down

0 comments on commit 85b6dd0

Please sign in to comment.