Fix hard-coded OP_MAX in variant_op.cpp
This commit is contained in:
parent
18b3bfec6b
commit
447b140671
@ -118,7 +118,7 @@
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
#define CASES(PREFIX) static const void *switch_table_##PREFIX[25][Variant::VARIANT_MAX] = { \
|
||||
#define CASES(PREFIX) static const void *switch_table_##PREFIX[Variant::OP_MAX][Variant::VARIANT_MAX] = { \
|
||||
TYPES(PREFIX, OP_EQUAL), \
|
||||
TYPES(PREFIX, OP_NOT_EQUAL), \
|
||||
TYPES(PREFIX, OP_LESS), \
|
||||
|
Loading…
Reference in New Issue
Block a user