Add const qualifiers

This commit is contained in:
Amos 2022-05-10 13:24:22 +02:00
parent 1c13c9807b
commit 80d99744db
2 changed files with 4 additions and 4 deletions

View File

@ -58,12 +58,12 @@ void CBitBuffer::SetDebugName(const char* pName)
m_pDebugName = pName;
}
const char* CBitBuffer::GetDebugName()
const char* CBitBuffer::GetDebugName() const
{
return m_pDebugName;
}
bool CBitBuffer::IsOverflowed()
bool CBitBuffer::IsOverflowed() const
{
return m_bOverflow;
}

View File

@ -20,8 +20,8 @@ class CBitBuffer
public:
CBitBuffer(void);
void SetDebugName(const char* pName);
const char* GetDebugName();
bool IsOverflowed();
const char* GetDebugName() const;
bool IsOverflowed() const;
void SetOverflowFlag();
////////////////////////////////////