From 130901ef398302827b341b5fea1744767f191a68 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 12 Jun 2011 06:14:30 +0000 Subject: [PATCH] some code clean up --- src/buffer.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/buffer.h b/src/buffer.h index 871867c5..7ce3f50d 100755 --- a/src/buffer.h +++ b/src/buffer.h @@ -335,9 +335,8 @@ public: protected: 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 if ( !bIsSimulation ) @@ -378,8 +377,6 @@ public: virtual bool Get ( CVector& vecbyData ); protected: - virtual void Clear ( const EClearType eClearType ); - int iBlockSize; int iNumInvalidElements; };