summaryrefslogtreecommitdiffstats
path: root/core/math/vector2i.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/vector2i.h')
-rw-r--r--core/math/vector2i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector2i.h b/core/math/vector2i.h
index aca9ae8272..fff9b0a658 100644
--- a/core/math/vector2i.h
+++ b/core/math/vector2i.h
@@ -37,7 +37,7 @@
class String;
struct Vector2;
-struct _NO_DISCARD_ Vector2i {
+struct [[nodiscard]] Vector2i {
static const int AXIS_COUNT = 2;
enum Axis {