diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-02-19 03:48:36 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-02-19 03:48:36 +0300 |
commit | 77a7bc289d92e825557379472d6c9120ed341fec (patch) | |
tree | fff4b5fe1ad3fc8bc219d5c7fbf8a6968e330aaf /src/DSUtil | |
parent | 20378121845e0aeae82ebe8973174bea4458b328 (diff) |
removed unneeded const
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1679 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil')
-rw-r--r-- | src/DSUtil/GolombBuffer.h | 8 |
1 files changed, 3 insertions, 5 deletions
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; };
|