1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

do not use designated initializer

This commit is contained in:
Tom Lankhorst
2019-02-06 11:28:39 +01:00
parent e24314bb5a
commit 72519d8bb8

View File

@@ -304,10 +304,7 @@ namespace OpenRCT2
MemoryStream data(compressLength);
ReplayRecordFile file = { .magic = _currentRecording->magic,
.version = _currentRecording->version,
.uncompressedSize = streamLength,
.data = data };
ReplayRecordFile file{ _currentRecording->magic, _currentRecording->version, streamLength, data };
auto compressBuf = std::make_unique<unsigned char[]>(compressLength);
compress2(