do not use designated initializer

This commit is contained in:
Tom Lankhorst committed 2019-02-06 11:28:39 +01:00
1 parent e24314bb5a
commit 72519d8bb8
1 file changed
+1 -4
+1 -4
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(