diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-04-12 10:02:26 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-04-12 16:40:01 -0500 |
commit | 55a4836e5bb983f9f95fccd846a2bdaa2989cef3 (patch) | |
tree | 59efe1c0a1eba0141d28072e2e972685eedfe64a /core/math/basis.h | |
parent | 30e71782afd9a1fd35707b89511bcd1aa538f673 (diff) | |
download | redot-engine-55a4836e5bb983f9f95fccd846a2bdaa2989cef3.tar.gz |
Core: Replace `_NO_DISCARD_` macro with attribute
Diffstat (limited to 'core/math/basis.h')
-rw-r--r-- | core/math/basis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/basis.h b/core/math/basis.h index 79f3bda8f8..095be35b93 100644 --- a/core/math/basis.h +++ b/core/math/basis.h @@ -34,7 +34,7 @@ #include "core/math/quaternion.h" #include "core/math/vector3.h" -struct _NO_DISCARD_ Basis { +struct [[nodiscard]] Basis { Vector3 rows[3] = { Vector3(1, 0, 0), Vector3(0, 1, 0), |