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
@@ -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