mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-24 16:51: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 {
|
||||
|
||||
template<typename U, auto QS>
|
||||
concept UnitOf = UnitOf<U, QS>;
|
||||
|
||||
template<typename U, auto QS>
|
||||
concept WeakUnitOf =
|
||||
Unit<U> && QuantitySpec<MP_UNITS_REMOVE_CONST(decltype(QS))> && ((!AssociatedUnit<U>) || UnitOf<U, QS>);
|
||||
|
Reference in New Issue
Block a user