Skip to content

Commit

Permalink
TEST: mark vector constructors as noexcept for atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
Robyt3 committed Sep 23, 2024
1 parent 064bf56 commit 35cf9c2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/base/vmath.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class vector2_base
T y, v;
};

constexpr vector2_base() = default;
constexpr vector2_base(T nx, T ny) :
constexpr vector2_base() noexcept = default;
constexpr vector2_base(T nx, T ny) noexcept :
x(nx), y(ny)
{
}
Expand Down Expand Up @@ -194,8 +194,8 @@ class vector3_base
T z, b, l, w;
};

constexpr vector3_base() = default;
constexpr vector3_base(T nx, T ny, T nz) :
constexpr vector3_base() noexcept = default;
constexpr vector3_base(T nx, T ny, T nz) noexcept :
x(nx), y(ny), z(nz)
{
}
Expand Down Expand Up @@ -318,8 +318,8 @@ class vector4_base
T w, a;
};

constexpr vector4_base() = default;
constexpr vector4_base(T nx, T ny, T nz, T nw) :
constexpr vector4_base() noexcept = default;
constexpr vector4_base(T nx, T ny, T nz, T nw) noexcept :
x(nx), y(ny), z(nz), w(nw)
{
}
Expand Down

0 comments on commit 35cf9c2

Please sign in to comment.