Skip to content

Commit 7edbf97

Browse files
committed
refactor: unneeded parenthesis removed from ValuePreservingScaling
1 parent 4ce1e90 commit 7edbf97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/include/mp-units/framework/quantity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ concept ValuePreservingAssignment = std::assignable_from<T&, Arg> && is_value_pr
7979
template<auto FromUnit, auto ToUnit, typename Rep>
8080
concept ValuePreservingScaling =
8181
SaneScaling<FromUnit, ToUnit, Rep> &&
82-
(treat_as_floating_point<Rep> || (integral_conversion_factor(FromUnit, ToUnit)) ||
82+
(treat_as_floating_point<Rep> || integral_conversion_factor(FromUnit, ToUnit) ||
8383
unsatisfied<"Scaling from '{}' to '{}' is not value-preserving for '{}' representation type">(
8484
unit_symbol(FromUnit), unit_symbol(ToUnit), type_name<Rep>()));
8585

0 commit comments

Comments
 (0)