mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Code style: use parentheses for creating heap-based objects (#344)
This commit is contained in:
@ -93,7 +93,7 @@ CCompressedStream::CCompressedStream(std::unique_ptr<CInputStream> stream, bool
|
||||
assert(gzipStream);
|
||||
|
||||
// Allocate inflate state
|
||||
inflateState = new z_stream;
|
||||
inflateState = new z_stream();
|
||||
inflateState->zalloc = Z_NULL;
|
||||
inflateState->zfree = Z_NULL;
|
||||
inflateState->opaque = Z_NULL;
|
||||
|
Reference in New Issue
Block a user