From 77a7bc289d92e825557379472d6c9120ed341fec Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 19 Feb 2010 00:48:36 +0000 Subject: removed unneeded const git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1679 10f7b99b-c216-0410-bff0-8a66a9350fd8 --- src/DSUtil/GolombBuffer.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/DSUtil') diff --git a/src/DSUtil/GolombBuffer.h b/src/DSUtil/GolombBuffer.h index 3a14f040e..ffb596e02 100644 --- a/src/DSUtil/GolombBuffer.h +++ b/src/DSUtil/GolombBuffer.h @@ -20,10 +20,8 @@ * */ - #pragma once - class CGolombBuffer { public: @@ -34,7 +32,7 @@ public: INT64 SExpGolombRead(); void BitByteAlign(); - inline BYTE ReadByte() { return (BYTE) BitRead ( 8); }; + inline BYTE ReadByte() { return (BYTE) BitRead ( 8); }; inline SHORT ReadShort() { return (SHORT)BitRead (16); }; inline DWORD ReadDword() { return (DWORD)BitRead (32); }; void ReadBuffer(BYTE* pDest, int nSize); @@ -43,9 +41,9 @@ public: void Reset(BYTE* pNewBuffer, int nNewSize); void SetSize(int nValue) { m_nSize = nValue; }; - int GetSize() const { return m_nSize; }; + int GetSize() const { return m_nSize; }; int RemainingSize() const { return m_nSize - m_nBitPos; }; - bool IsEOF() const const { return m_nBitPos >= m_nSize; }; + bool IsEOF() const { return m_nBitPos >= m_nSize; }; INT64 GetPos(); BYTE* GetBufferPos() { return m_pBuffer + m_nBitPos; }; -- cgit v1.2.3