mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Replace std::size
usage with std_size
to avoid <iterator>
include.
This commit is contained in:
parent
6d33ad2917
commit
1db0a60dc0
40 changed files with 69 additions and 66 deletions
|
@ -248,7 +248,7 @@ String GDScriptWarning::get_name_from_code(Code p_code) {
|
|||
#endif
|
||||
};
|
||||
|
||||
static_assert(std::size(names) == WARNING_MAX, "Amount of warning types don't match the amount of warning names.");
|
||||
static_assert(std_size(names) == WARNING_MAX, "Amount of warning types don't match the amount of warning names.");
|
||||
|
||||
return names[(int)p_code];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue