Changes due to metagen API changes

This commit is contained in:
Pavel Shevaev 2023-07-26 18:00:39 +03:00
parent 41763bc3f7
commit 7d7afbb2da
1 changed files with 2 additions and 2 deletions

View File

@ -72,10 +72,10 @@ public {{_self.struct_type(o)}} {{o.name}} {{_self.base_struct_class(o)}}
return {{fields_count(o)}};
}
public {{_self.override(o)}} int getWritableFieldsCount()
public {{_self.override(o)}} int getDirtyFieldsCount()
{
{%~ if has_token(o, 'bitfields') ~%}
return fields_mask.GetDirtyFieldsCount() + MetaSync.MASK_HEADER_FIELDS_COUNT;
return fields_mask.GetDirtyFieldsCount();
{% else %}
return getFieldsCount();
{%- endif ~%}