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,