| Index: core/include/fxcrt/fx_basic.h
|
| diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
|
| index 5d3fc33d6f4b29900beac290ba1aa9aec3015484..8a39729fd085fc28690ddc52541c1e9ca19441d8 100644
|
| --- a/core/include/fxcrt/fx_basic.h
|
| +++ b/core/include/fxcrt/fx_basic.h
|
| @@ -811,9 +811,9 @@ class CFX_BitStream {
|
|
|
| void Rewind() { m_BitPos = 0; }
|
|
|
| - FX_DWORD GetPos() { return m_BitPos; }
|
| + FX_DWORD GetPos() const { return m_BitPos; }
|
|
|
| - FX_DWORD BitsRemaining() {
|
| + FX_DWORD BitsRemaining() const {
|
| return m_BitSize >= m_BitPos ? m_BitSize - m_BitPos : 0;
|
| }
|
|
|
|
|