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