From 289a1c2e860cc9f8a967b35db3db6b358a6213d2 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Mon, 15 Mar 2010 16:00:29 +0000 Subject: [PATCH] the EbmlBinary GetSize() is the same as the parent class (EbmlElement) one + add an internal Accessor API git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@12 a6f86f6d-0131-4f8e-9e7b-e335508773d5 --- ebml/EbmlBinary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ebml/EbmlBinary.h b/ebml/EbmlBinary.h index b5f68d6..c79fee2 100644 --- a/ebml/EbmlBinary.h +++ b/ebml/EbmlBinary.h @@ -84,7 +84,6 @@ class EBML_DLL_API EbmlBinary : public EbmlElement { bValueIsSet = true; } - uint64 GetSize() const {return Size;} operator const binary &() const {return *Data;} bool IsDefaultValue() const { @@ -94,6 +93,8 @@ class EBML_DLL_API EbmlBinary : public EbmlElement { bool operator==(const EbmlBinary & ElementToCompare) const; protected: + binary *GetData() const {return Data;} + binary *Data; // the binary data inside the element };