Skip to content

Commit

Permalink
style: 🎨 Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ion098 authored Dec 23, 2024
1 parent 0d33c00 commit 77d3f7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/units/units.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,7 @@ template <isQuantity Q, isQuantity R> constexpr Q operator-(Q lhs, R rhs)
return Q(lhs.internal() - rhs.internal());
}

template <isQuantity Q> constexpr Q operator-(Q quantity)
{
return Q(-quantity.internal());
}
template <isQuantity Q> constexpr Q operator-(Q quantity) { return Q(-quantity.internal()); }

template <isQuantity Q> constexpr Q operator*(Q quantity, double multiple) { return Q(quantity.internal() * multiple); }

Expand Down

0 comments on commit 77d3f7b

Please sign in to comment.