diff --git a/include/units/units.hpp b/include/units/units.hpp index 8a41973..a0338d4 100644 --- a/include/units/units.hpp +++ b/include/units/units.hpp @@ -211,10 +211,7 @@ template constexpr Q operator-(Q lhs, R rhs) return Q(lhs.internal() - rhs.internal()); } -template constexpr Q operator-(Q quantity) -{ - return Q(-quantity.internal()); -} +template constexpr Q operator-(Q quantity) { return Q(-quantity.internal()); } template constexpr Q operator*(Q quantity, double multiple) { return Q(quantity.internal() * multiple); }