summaryrefslogtreecommitdiffstats
path: root/core/math/basis.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-01-20 15:34:41 +0100
committerGitHub <noreply@github.com>2022-01-20 15:34:41 +0100
commit9e0973ca23423f270df3589e2766a0918e409526 (patch)
tree23dcbc05cd421ea5d31edbbb052cfb871b9ce1ec /core/math/basis.h
parent3eb585e478d81a3181c2f32356d6a0c69c19db4a (diff)
parentb411a731fef9af1c0a73e4d5b718e5a6b12af1c2 (diff)
downloadredot-engine-9e0973ca23423f270df3589e2766a0918e409526.tar.gz
Merge pull request #56972 from lawnjelly/warn_unused
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 709f2cb3cf..802da82089 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"
-class Basis {
+class _NO_DISCARD_ Basis {
private:
void _set_diagonal(const Vector3 &p_diag);