This commit is contained in:
aozhiwei 2022-12-22 16:20:00 +08:00
parent 458a24b4c6
commit c1604cfc09

View File

@ -83,7 +83,7 @@ namespace f8
break;
case a8::reflect::ET_FLOAT:
{
*((float*)p) = reader.GetValue(field.field_name);
*((float*)p) = reader.GetValue(field.field_name).GetDouble();
}
break;
case a8::reflect::ET_DOUBLE:
@ -101,6 +101,7 @@ namespace f8
abort();
}
}
obj->__flags__.set(i);
meta_list.push_back(obj);
}
}