diff --git a/components/esm/esmwriter.cpp b/components/esm/esmwriter.cpp index 4d9999143..b8c78a2b9 100644 --- a/components/esm/esmwriter.cpp +++ b/components/esm/esmwriter.cpp @@ -9,10 +9,13 @@ namespace ESM { ESMWriter::ESMWriter() - : mStream(NULL) - , mEncoder (0) - , mRecordCount (0) - , mCounting (true) + : mRecords() + , mStream(NULL) + , mHeaderPos() + , mEncoder(NULL) + , mRecordCount(0) + , mCounting(true) + , mHeader() {} unsigned int ESMWriter::getVersion() const