You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user