Changes due to metagen API changes
This commit is contained in:
parent
41763bc3f7
commit
7d7afbb2da
|
@ -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 ~%}
|
||||
|
|
Loading…
Reference in New Issue