Skip to content

Commit f59fdcc

Browse files
committed
style: pre-commit
1 parent 01c3282 commit f59fdcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/include/mp-units/bits/sudo_cast.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ template<Quantity To, typename FwdFrom, Quantity From = std::remove_cvref_t<FwdF
190190
{
191191
if constexpr (equivalent(From::unit, To::unit)) {
192192
// no scaling of the number needed
193-
return {silent_cast<typename To::rep>(std::forward<FwdFrom>(q).numerical_value_is_an_implementation_detail_), To::reference};
193+
return {silent_cast<typename To::rep>(std::forward<FwdFrom>(q).numerical_value_is_an_implementation_detail_),
194+
To::reference};
194195
} else {
195196
return {sudo_cast_value<From::unit, typename From::rep, To::unit, typename To::rep>(
196197
std::forward<FwdFrom>(q).numerical_value_is_an_implementation_detail_),

0 commit comments

Comments
 (0)