Skip to content

Commit

Permalink
New allow an empty creator callback
Browse files Browse the repository at this point in the history
The EbmlDummy has a Create callback that is used in DEFINE_EBML_CLASS_ORPHAN().
  • Loading branch information
robUx4 committed Dec 18, 2023
1 parent 454b27b commit c4b33d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EbmlElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ EbmlCallbacks::EbmlCallbacks(EbmlElement & (*Creator)(), const EbmlId & aGlobalI
,DebugName(aDebugName)
,Context(aContext)
{
assert((Create!=nullptr) || !strcmp(aDebugName, "DummyElement"));
assert(Create!=nullptr);
}

const EbmlSemantic & EbmlSemanticContext::GetSemantic(std::size_t i) const
Expand Down

0 comments on commit c4b33d1

Please sign in to comment.