1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Fix compilation issue on Linux with Clang

This commit is contained in:
Gymnasiast
2021-04-09 23:13:11 +02:00
parent 679f4d7d50
commit 6569de4e91

View File

@@ -168,7 +168,7 @@ namespace OpenRCT2
{
scenario_index_entry entry{};
auto& os = *_os;
os.ReadWriteChunk(ParkFileChunkType::SCENARIO, [this, &entry](OrcaStream::ChunkStream& cs) {
os.ReadWriteChunk(ParkFileChunkType::SCENARIO, [&entry](OrcaStream::ChunkStream& cs) {
entry.category = cs.Read<uint8_t>();
std::string name;