mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -158,7 +158,7 @@ static const char *token_names[] = {
|
|||
};
|
||||
|
||||
// Avoid desync.
|
||||
static_assert(std::size(token_names) == GDScriptTokenizer::Token::TK_MAX, "Amount of token names don't match the amount of token types.");
|
||||
static_assert(std_size(token_names) == GDScriptTokenizer::Token::TK_MAX, "Amount of token names don't match the amount of token types.");
|
||||
|
||||
const char *GDScriptTokenizer::Token::get_name() const {
|
||||
ERR_FAIL_INDEX_V_MSG(type, TK_MAX, "<error>", "Using token type out of the enum.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue