mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
fix: clang-20 compilation fixed
This commit is contained in:
@ -102,9 +102,6 @@ concept UnitOf = AssociatedUnit<U> && QuantitySpec<MP_UNITS_REMOVE_CONST(decltyp
|
|||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
template<typename U, auto QS>
|
|
||||||
concept UnitOf = UnitOf<U, QS>;
|
|
||||||
|
|
||||||
template<typename U, auto QS>
|
template<typename U, auto QS>
|
||||||
concept WeakUnitOf =
|
concept WeakUnitOf =
|
||||||
Unit<U> && QuantitySpec<MP_UNITS_REMOVE_CONST(decltype(QS))> && ((!AssociatedUnit<U>) || UnitOf<U, QS>);
|
Unit<U> && QuantitySpec<MP_UNITS_REMOVE_CONST(decltype(QS))> && ((!AssociatedUnit<U>) || UnitOf<U, QS>);
|
||||||
|
Reference in New Issue
Block a user