refactor: code refactored to comply with clang-tidy
This commit is contained in:
1 parent
901b5e5394
commit
75f719add7
46 files changed
+489
-380
No files matched your search
@@ -35,7 +35,7 @@ namespace {
|
||||
|
||||
template<mp_units::Quantity Target, mp_units::Quantity Source>
|
||||
requires std::constructible_from<Target, Source>
|
||||
inline constexpr double conversion_factor(Target, Source)
|
||||
constexpr double conversion_factor(Target, Source)
|
||||
{
|
||||
return (1. * Source::reference).force_numerical_value_in(Target::unit);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user