From a23d917937f8ab3e22d8fa53f609343cb3e1928c Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 8 Aug 2022 17:36:15 +0200 Subject: [PATCH] use the proper _NO_DISCARD_ macro. --- core/math/vector4.h | 2 +- core/math/vector4i.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/math/vector4.h b/core/math/vector4.h index 0e0bedf3d..df2bb1474 100644 --- a/core/math/vector4.h +++ b/core/math/vector4.h @@ -36,7 +36,7 @@ #include "core/math/vector3.h" #include "core/ustring.h" -struct _NO_DISCARD_ Vector4 { +struct _NO_DISCARD_CLASS_ Vector4 { enum Axis { AXIS_X, AXIS_Y, diff --git a/core/math/vector4i.h b/core/math/vector4i.h index 200b4ecac..ed30c7228 100644 --- a/core/math/vector4i.h +++ b/core/math/vector4i.h @@ -37,7 +37,7 @@ class String; struct Vector4; -struct _NO_DISCARD_ Vector4i { +struct _NO_DISCARD_CLASS_ Vector4i { enum Axis { AXIS_X, AXIS_Y,