EbmlDummy elements do not have or need a Create method.

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@50 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Moritz Bunkus 2010-03-23 13:13:53 +00:00
parent b1d8a72e40
commit 22a45d1ac3

View File

@ -33,6 +33,7 @@
*/
#include <cassert>
#include <cstring>
#include "ebml/EbmlElement.h"
#include "ebml/EbmlMaster.h"
@ -208,7 +209,7 @@ EbmlCallbacks::EbmlCallbacks(EbmlElement & (*Creator)(), const EbmlId & aGlobalI
,DebugName(aDebugName)
,Context(aContext)
{
assert(Create!=NULL);
assert((Create!=NULL) || !strcmp(aDebugName, "DummyElement"));
}