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/vector4.h | |
parent | 30e71782afd9a1fd35707b89511bcd1aa538f673 (diff) | |
download | redot-engine-55a4836e5bb983f9f95fccd846a2bdaa2989cef3.tar.gz |
Core: Replace `_NO_DISCARD_` macro with attribute
Diffstat (limited to 'core/math/vector4.h')
-rw-r--r-- | core/math/vector4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector4.h b/core/math/vector4.h index 4dba3126cb..048a5bc26e 100644 --- a/core/math/vector4.h +++ b/core/math/vector4.h @@ -36,7 +36,7 @@ class String; -struct _NO_DISCARD_ Vector4 { +struct [[nodiscard]] Vector4 { static const int AXIS_COUNT = 4; enum Axis { |