forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
369b126b33
commit
c4bf678768
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ template <typename TWriter>
|
|||
class BitWriter
|
||||
{
|
||||
public:
|
||||
BitWriter(TWriter & writer) : m_writer(writer), m_buf(0), m_bitsWritten(0) {}
|
||||
explicit BitWriter(TWriter & writer) : m_writer(writer), m_buf(0), m_bitsWritten(0) {}
|
||||
|
||||
~BitWriter()
|
||||
{
|
||||
|
@ -87,7 +87,7 @@ template <typename TSource>
|
|||
class BitReader
|
||||
{
|
||||
public:
|
||||
BitReader(TSource & src) : m_src(src), m_bitsRead(0), m_bufferedBits(0), m_buf(0) {}
|
||||
explicit BitReader(TSource & src) : m_src(src), m_bitsRead(0), m_bufferedBits(0), m_buf(0) {}
|
||||
|
||||
// Returns the total number of bits read from this BitReader.
|
||||
uint64_t BitsRead() const { return m_bitsRead; }
|
||||
|
|
Loading…
Add table
Reference in a new issue