Skip to content

Commit

Permalink
Fix reader initialization. (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphardWang authored and MaggieQi committed Nov 13, 2019
1 parent 7ac3537 commit 92a42ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AnnService/src/Helper/VectorSetReaders/DefaultReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class BinaryLineReader
{
public:
BinaryLineReader(std::istream& p_inStream)
: m_inStream(p_inStream)
: m_inStream(p_inStream),
m_curOffset(0),
m_curTotal(0)
{
m_buffer.reset(new char[c_bufferSize]);
}
Expand Down

0 comments on commit 92a42ff

Please sign in to comment.