summaryrefslogtreecommitdiffstats
path: root/core/math/rect2i.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/rect2i.h')
-rw-r--r--core/math/rect2i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rect2i.h b/core/math/rect2i.h
index a1338da0bb..5f3a3d54f5 100644
--- a/core/math/rect2i.h
+++ b/core/math/rect2i.h
@@ -37,7 +37,7 @@
class String;
struct Rect2;
-struct _NO_DISCARD_ Rect2i {
+struct [[nodiscard]] Rect2i {
Point2i position;
Size2i size;