Reorder init to supress warnings

This commit is contained in:
Richard Berger 2020-09-01 12:25:38 -04:00
parent a2b5c379f2
commit f899a0f484
No known key found for this signature in database
GPG Key ID: A9E83994E0BA0CAB
1 changed files with 3 additions and 3 deletions

View File

@ -24,10 +24,10 @@
using namespace LAMMPS_NS;
ZstdFileWriter::ZstdFileWriter() : FileWriter(),
fp(nullptr),
cctx(nullptr),
compression_level(0),
checksum_flag(1)
checksum_flag(1),
cctx(nullptr),
fp(nullptr)
{
out_buffer_size = ZSTD_CStreamOutSize();
out_buffer = new char[out_buffer_size];