mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +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
|
|
@ -411,7 +411,7 @@ void (*type_init_function_table[])(Variant *) = {
|
|||
&&OPCODE_LINE, \
|
||||
&&OPCODE_END \
|
||||
}; \
|
||||
static_assert(std::size(switch_table_ops) == (OPCODE_END + 1), "Opcodes in jump table aren't the same as opcodes in enum.");
|
||||
static_assert(std_size(switch_table_ops) == (OPCODE_END + 1), "Opcodes in jump table aren't the same as opcodes in enum.");
|
||||
|
||||
#define OPCODE(m_op) \
|
||||
m_op:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue