diff --git a/r5dev/tier1/bitbuf.cpp b/r5dev/tier1/bitbuf.cpp index be2e08ac..d4c0fd8c 100644 --- a/r5dev/tier1/bitbuf.cpp +++ b/r5dev/tier1/bitbuf.cpp @@ -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; } diff --git a/r5dev/tier1/bitbuf.h b/r5dev/tier1/bitbuf.h index 3a288adb..74a16539 100644 --- a/r5dev/tier1/bitbuf.h +++ b/r5dev/tier1/bitbuf.h @@ -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(); ////////////////////////////////////