This commit is contained in:
aozhiwei 2022-12-26 14:14:04 +08:00
parent 058af9a9be
commit e04f8dd6ae

View File

@ -33,6 +33,7 @@ namespace f8
abort(); abort();
} }
void* p = (char*)obj + field.offset; void* p = (char*)obj + field.offset;
if (reader.KeyExists(field.field_name)) {
switch (field.type) { switch (field.type) {
case a8::reflect::ET_INT32: case a8::reflect::ET_INT32:
{ {
@ -71,6 +72,7 @@ namespace f8
} }
obj->__flags__.set(i); obj->__flags__.set(i);
} }
}
meta_list.push_back(obj); meta_list.push_back(obj);
} }
return true; return true;