summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io/source/stm/omark.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 9489be2da905..4e43b932bb74 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -147,10 +147,11 @@ private:
};
OMarkableOutputStream::OMarkableOutputStream( )
+ : m_bValidStream(false)
+ , m_nCurrentPos(0)
+ , m_nCurrentMark(0)
{
m_pBuffer = new MemRingBuffer;
- m_nCurrentPos = 0;
- m_nCurrentMark = 0;
}
OMarkableOutputStream::~OMarkableOutputStream()