Adding const for the type generation in emplace

This commit is contained in:
Patrick Pelissier committed 2022-06-04 23:40:36 +02:00
1 parent 9c59684b61
commit 5ac08e42d8
1 file changed
+2 -2
+2 -2
View File
@@ -3991,9 +3991,9 @@ m_core_parse2_enum (const char str[], const char **endptr)
#define M_EMPLACE_LIST_TYPE_VAR_MULTI(prefix, emplace_type) \
M_MAP3(M_EMPLACE_LIST_TYPE_VAR_MULTI_F, prefix, M_ID emplace_type)
#define M_EMPLACE_LIST_TYPE_VAR_MULTI_F(prefix, num, type) \
, type M_C(prefix, num)
, type const M_C(prefix, num)
#define M_EMPLACE_LIST_TYPE_VAR_SINGLE(prefix, emplace_type) \
, emplace_type prefix
, emplace_type const prefix
/* Expand to the list of variable name based on the the declaration with