Replace std::size usage with std_size to avoid <iterator> include.

This commit is contained in:
Lukas Tenbrink 2025-10-03 20:02:38 +02:00
parent 6d33ad2917
commit 1db0a60dc0
40 changed files with 69 additions and 66 deletions

View file

@ -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];
}