[matroska] r1112 - in trunk/libebml: ebml src
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mosu
Date: 2005-03-28 13:55:50 +0400 (Mon, 28 Mar 2005)
New Revision: 1112
Modified:
trunk/libebml/ebml/EbmlBinary.h
trunk/libebml/src/EbmlBinary.cpp
Log:
Removed the unnecessary non-const comparison operator.
Modified: trunk/libebml/ebml/EbmlBinary.h
===================================================================
--- trunk/libebml/ebml/EbmlBinary.h 2005-03-27 13:55:27 UTC (rev 1111)
+++ trunk/libebml/ebml/EbmlBinary.h 2005-03-28 09:55:50 UTC (rev 1112)
@@ -90,7 +90,6 @@
return false;
}
- bool operator==(const EbmlBinary & ElementToCompare);
bool operator==(const EbmlBinary & ElementToCompare) const;
protected:
Modified: trunk/libebml/src/EbmlBinary.cpp
===================================================================
--- trunk/libebml/src/EbmlBinary.cpp 2005-03-27 13:55:27 UTC (rev 1111)
+++ trunk/libebml/src/EbmlBinary.cpp 2005-03-28 09:55:50 UTC (rev 1112)
@@ -93,11 +93,6 @@
return input.read(Data, Size);
}
-bool EbmlBinary::operator==(const EbmlBinary & ElementToCompare)
-{
- return ((Size == ElementToCompare.Size) && !memcmp(Data, ElementToCompare.Data, Size));
-}
-
bool EbmlBinary::operator==(const EbmlBinary & ElementToCompare) const
{
return ((Size == ElementToCompare.Size) && !memcmp(Data, ElementToCompare.Data, Size));