diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-01-20 15:34:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 15:34:41 +0100 |
commit | 9e0973ca23423f270df3589e2766a0918e409526 (patch) | |
tree | 23dcbc05cd421ea5d31edbbb052cfb871b9ce1ec /core/math/rect2.h | |
parent | 3eb585e478d81a3181c2f32356d6a0c69c19db4a (diff) | |
parent | b411a731fef9af1c0a73e4d5b718e5a6b12af1c2 (diff) | |
download | redot-engine-9e0973ca23423f270df3589e2766a0918e409526.tar.gz |
Merge pull request #56972 from lawnjelly/warn_unused
Diffstat (limited to 'core/math/rect2.h')
-rw-r--r-- | core/math/rect2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/rect2.h b/core/math/rect2.h index f34550bef1..4ea24e8f88 100644 --- a/core/math/rect2.h +++ b/core/math/rect2.h @@ -35,7 +35,7 @@ struct Transform2D; -struct Rect2 { +struct _NO_DISCARD_ Rect2 { Point2 position; Size2 size; @@ -363,7 +363,7 @@ struct Rect2 { } }; -struct Rect2i { +struct _NO_DISCARD_ Rect2i { Point2i position; Size2i size; |