summaryrefslogtreecommitdiffstats
path: root/core/math/basis.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-06-25 10:01:39 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-06-25 10:01:39 +0200
commitb9038501db41c41bad167579a4f7d07894753b42 (patch)
tree37ee503fa7b6f4f08f8cb1c2ff1f609a89cb5aad /core/math/basis.h
parentdc4085060b28df83b00c9c1122290acac202f0bb (diff)
parent55a4836e5bb983f9f95fccd846a2bdaa2989cef3 (diff)
downloadredot-engine-b9038501db41c41bad167579a4f7d07894753b42.tar.gz
Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_
Core: Replace `_NO_DISCARD_` macro with `[[nodiscard]]`
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 918cbc18d4..5c1a5fbdda 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),