summaryrefslogtreecommitdiffstats
path: root/core/math/basis.h
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-04-12 10:02:26 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-04-12 16:40:01 -0500
commit55a4836e5bb983f9f95fccd846a2bdaa2989cef3 (patch)
tree59efe1c0a1eba0141d28072e2e972685eedfe64a /core/math/basis.h
parent30e71782afd9a1fd35707b89511bcd1aa538f673 (diff)
downloadredot-engine-55a4836e5bb983f9f95fccd846a2bdaa2989cef3.tar.gz
Core: Replace `_NO_DISCARD_` macro with attribute
Diffstat (limited to 'core/math/basis.h')
-rw-r--r--core/math/basis.h2
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),