mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
This commit is contained in:
commit
d1d28c0bcf
39 changed files with 67 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