Skip to content

Commit

Permalink
Switch to the ShouldWrite API to select which elements to write
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Dec 28, 2023
1 parent bcf5414 commit 4b5b53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectool/schema_2_kaxsemantic_h.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace libmatroska {
<xsl:text>public:&#10;</xsl:text>
</xsl:if>
<xsl:if test="@maxver='0' or @maxver='1' or @maxver='2' or @maxver='3'">
<xsl:text> filepos_t RenderData(IOCallback &amp; output, bool bForceRender, bool bSaveDefault) override;&#10;</xsl:text>
<xsl:text> filepos_t RenderData(IOCallback &amp; output, bool bForceRender, ShouldWrite writeFilter) override;&#10;</xsl:text>
</xsl:if>
<xsl:if test="@length">
<xsl:text> bool ValidateSize() const override {return IsFiniteSize() &amp;&amp; GetSize() </xsl:text>
Expand Down

0 comments on commit 4b5b53f

Please sign in to comment.