some code clean up

This commit is contained in:
Volker Fischer 2011-06-12 06:14:30 +00:00
parent e60df0f150
commit 130901ef39

View file

@ -335,9 +335,8 @@ public:
protected: protected:
enum EBufState { BS_OK, BS_FULL, BS_EMPTY }; enum EBufState { BS_OK, BS_FULL, BS_EMPTY };
enum EClearType { CT_PUT, CT_GET };
virtual void Clear ( const EClearType eClearType ) virtual void Clear()
{ {
// clear memory // clear memory
if ( !bIsSimulation ) if ( !bIsSimulation )
@ -378,8 +377,6 @@ public:
virtual bool Get ( CVector<uint8_t>& vecbyData ); virtual bool Get ( CVector<uint8_t>& vecbyData );
protected: protected:
virtual void Clear ( const EClearType eClearType );
int iBlockSize; int iBlockSize;
int iNumInvalidElements; int iNumInvalidElements;
}; };