diff --git a/spectool/schema_2_kaxsemantic_cpp.xsl b/spectool/schema_2_kaxsemantic_cpp.xsl
index ad33c911..756f1822 100644
--- a/spectool/schema_2_kaxsemantic_cpp.xsl
+++ b/spectool/schema_2_kaxsemantic_cpp.xsl
@@ -410,7 +410,7 @@ static constexpr const MatroskaProfile VERSION_DIVX_ONLY = {false, true, Matr
- ::RenderData(libebml::IOCallback & /* output */, bool /* bForceRender */, ShouldWrite /* writeFilter */) {
+ ::RenderData(libebml::IOCallback & /* output */, bool /* bForceRender */, const ShouldWrite & /* writeFilter */) {
assert(false); // no you are not allowed to use this element !
return 0;
}
diff --git a/spectool/schema_2_kaxsemantic_h.xsl b/spectool/schema_2_kaxsemantic_h.xsl
index eeac1086..06dc3024 100644
--- a/spectool/schema_2_kaxsemantic_h.xsl
+++ b/spectool/schema_2_kaxsemantic_h.xsl
@@ -106,7 +106,7 @@ namespace libmatroska {
public:
- libebml::filepos_t RenderData(libebml::IOCallback & output, bool bForceRender, ShouldWrite writeFilter) override;
+ libebml::filepos_t RenderData(libebml::IOCallback & output, bool bForceRender, const ShouldWrite & writeFilter) override;
};