Style: Replace _NO_DISCARD_ macro with [[nodiscard]]

This commit is contained in:
Thaddeus Crews
2025-02-20 09:23:08 -06:00
parent 5eb6e6bf61
commit 89fd27608f
17 changed files with 16 additions and 20 deletions

View File

@@ -74,10 +74,6 @@ namespace godot {
#endif
#endif
#ifndef _NO_DISCARD_
#define _NO_DISCARD_ [[nodiscard]]
#endif
// Windows badly defines a lot of stuff we'll never use. Undefine it.
#ifdef _WIN32
#undef min // override standard definition