This commit is contained in:
y.qiu
2024-09-06 21:19:58 +08:00
parent b8918b123d
commit 3a689e900f
3 changed files with 6 additions and 6 deletions

View File

@ -187,7 +187,7 @@ void operation(Buffer *buf, Model &model) {
(*buf) & (model);
}
bool serialize(Model *const model, unsigned char *buffer, int *size) {
bool serialize(const Model_t model, unsigned char *buffer, int *size) {
if (nullptr == size) {
return false;
}