mie: vector: add copy- and move-constructor support
This commit is contained in:
@@ -73,7 +73,7 @@ static enum mie_status parse(
|
||||
return MIE_ERR_BAD_FORMAT;
|
||||
}
|
||||
|
||||
mie_vector_push_back(array->a_items, &item);
|
||||
mie_vector_push_back(array->a_items, &item, NULL);
|
||||
|
||||
while (1) {
|
||||
if (mie_parser_parse_symbol(ctx, MIE_SYM_RIGHT_BRACKET)) {
|
||||
@@ -89,7 +89,7 @@ static enum mie_status parse(
|
||||
return MIE_ERR_BAD_FORMAT;
|
||||
}
|
||||
|
||||
mie_vector_push_back(array->a_items, &item);
|
||||
mie_vector_push_back(array->a_items, &item, NULL);
|
||||
}
|
||||
|
||||
*out = (struct mie_attribute *)array;
|
||||
|
||||
Reference in New Issue
Block a user