mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Core: Replace _NO_DISCARD_ macro with attribute
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "core/math/plane.h"
|
||||
#include "core/templates/vector.h"
|
||||
|
||||
struct _NO_DISCARD_ Transform3D {
|
||||
struct [[nodiscard]] Transform3D {
|
||||
Basis basis;
|
||||
Vector3 origin;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user