fix: unit symbol text output unit tests fixed

This commit is contained in:
Mateusz Pusz committed 2022-05-11 18:10:51 +02:00
1 parent 9a022da919
commit 7737167d1d
3 files changed
+17 -16

No files matched your search

+3
View File
@@ -225,6 +225,9 @@ void can_be_prefixed_impl(const volatile alias_unit<U, Symbol>*);
template<Unit U>
inline constexpr bool can_be_prefixed<U> = requires(U * u) { can_be_prefixed_impl(u); };
template<ratio R, typename U>
inline constexpr bool can_be_prefixed<scaled_unit<R, U>> = can_be_prefixed<typename U::reference>;
} // namespace detail
} // namespace units