File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -678,7 +678,8 @@ class vector :
678678#if CFG_CPP >= 20
679679 constexpr
680680#endif
681- vector& operator *=(component_type num) noexcept
681+ vector&
682+ operator *=(component_type num) noexcept
682683 {
683684 return this ->comp_operation ([&num](auto & a) {
684685 return a * num;
@@ -694,7 +695,8 @@ class vector :
694695#if CFG_CPP >= 20
695696 constexpr
696697#endif
697- vector operator *(component_type num) const noexcept
698+ vector
699+ operator *(component_type num) const noexcept
698700 {
699701 return (vector (*this ) *= num);
700702 }
@@ -708,7 +710,8 @@ class vector :
708710#if CFG_CPP >= 20
709711 constexpr
710712#endif
711- vector operator /(component_type num) const noexcept
713+ vector
714+ operator /(component_type num) const noexcept
712715 {
713716 return vector (*this ) /= num;
714717 }
@@ -733,7 +736,8 @@ class vector :
733736#if CFG_CPP >= 20
734737 constexpr
735738#endif
736- vector& operator /=(component_type num) noexcept
739+ vector&
740+ operator /=(component_type num) noexcept
737741 {
738742 // TODO: uncomment when there is a solution to have the assertion in constexpr context
739743 // utki::assert(num != 0, [&](auto& o) {
You can’t perform that action at this time.
0 commit comments