mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix compilation issue on Linux with Clang
This commit is contained in:
parent
679f4d7d50
commit
6569de4e91
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue