use the proper _NO_DISCARD_ macro.

This commit is contained in:
Relintai 2022-08-08 17:36:15 +02:00
parent 453c6cdda4
commit a23d917937
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -37,7 +37,7 @@
class String;
struct Vector4;
struct _NO_DISCARD_ Vector4i {
struct _NO_DISCARD_CLASS_ Vector4i {
enum Axis {
AXIS_X,
AXIS_Y,