Skip to content

Commit

Permalink
remove ForceNoDefault()
Browse files Browse the repository at this point in the history
This is a hack to pretend an element doesn't have its default value
so it ends up being written.
  • Loading branch information
robUx4 committed Dec 18, 2023
1 parent 36cafae commit 51eb97d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ebml/EbmlElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ class EBML_DLL_API EbmlElement {
std::uint64_t VoidMe(IOCallback & output, ShouldWrite writeFilter = WriteSkipDefault) const;

bool DefaultISset() const {return DefaultIsSet;}
void ForceNoDefault() {SetDefaultIsSet(false);}
virtual bool IsDefaultValue() const = 0;
bool IsFiniteSize() const {return bSizeIsFinite;}

Expand Down

0 comments on commit 51eb97d

Please sign in to comment.