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
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 1 additions and 1 deletions

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;