summaryrefslogtreecommitdiffstats
path: root/core/math/vector2.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/vector2.h
parent30e71782afd9a1fd35707b89511bcd1aa538f673 (diff)
downloadredot-engine-55a4836e5bb983f9f95fccd846a2bdaa2989cef3.tar.gz
Core: Replace `_NO_DISCARD_` macro with attribute
Diffstat (limited to 'core/math/vector2.h')
-rw-r--r--core/math/vector2.h2
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 {