summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/omark.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 970c7e7d5f1c..9489be2da905 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -561,13 +561,13 @@ private:
};
OMarkableInputStream::OMarkableInputStream()
+ : m_bValidStream(false)
+ , m_nCurrentPos(0)
+ , m_nCurrentMark(0)
{
- m_nCurrentPos = 0;
- m_nCurrentMark = 0;
m_pBuffer = new MemRingBuffer;
}
-
OMarkableInputStream::~OMarkableInputStream()
{
if( m_pBuffer ) {