Fix const attribute of _get_emplace
This commit is contained in:
1 parent
acd8671017
commit
95762a058c
1 file changed
+1
-1
@@ -4773,7 +4773,7 @@ m_core_parse2_enum (const char str[], const char **endptr)
|
||||
*/
|
||||
#define M_EMPLACE_GET_GENE(name, name_t, function_name, oplist, init_func, exp_emplace_type) \
|
||||
static inline M_C(name, _value_ct) * \
|
||||
function_name(name_t v \
|
||||
function_name(name_t const v \
|
||||
M_EMPLACE_LIST_TYPE_VAR(a, exp_emplace_type) ) \
|
||||
{ \
|
||||
M_GET_TYPE oplist data; \
|
||||
|
||||
Reference in new issue
Block a user