style: clang-format in pre-commit updated to 19.1.2
This commit is contained in:
1 parent
9b3bae0f05
commit
d8bc0598fe
3 files changed
+4
-5
No files matched your search
@@ -646,8 +646,8 @@ template<Representation Value>
|
||||
explicit(false) quantity(Value) -> quantity<one, Value>;
|
||||
|
||||
template<QuantityLike Q>
|
||||
explicit(quantity_like_traits<Q>::explicit_import)
|
||||
quantity(Q) -> quantity<quantity_like_traits<Q>::reference, typename quantity_like_traits<Q>::rep>;
|
||||
explicit(quantity_like_traits<Q>::explicit_import) quantity(Q)
|
||||
-> quantity<quantity_like_traits<Q>::reference, typename quantity_like_traits<Q>::rep>;
|
||||
|
||||
MP_UNITS_EXPORT_END
|
||||
|
||||
|
||||
@@ -78,8 +78,7 @@ struct quantity_like_traits<std::chrono::duration<Rep, Period>> {
|
||||
using rep = Rep;
|
||||
using T = std::chrono::duration<Rep, Period>;
|
||||
|
||||
[[nodiscard]] static constexpr rep to_numerical_value(const T& q) noexcept(
|
||||
std::is_nothrow_copy_constructible_v<rep>)
|
||||
[[nodiscard]] static constexpr rep to_numerical_value(const T& q) noexcept(std::is_nothrow_copy_constructible_v<rep>)
|
||||
{
|
||||
return q.count();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user