Skip to content

Commit 7a9834a

Browse files
committed
format
1 parent 9701e7b commit 7a9834a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/r4/vector.hpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)