Fix clang builds

This commit is contained in:
Ted John 2021-05-20 10:46:17 +01:00 committed by GitHub
parent 650cec46e0
commit 0ff22e13d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ namespace OpenRCT2
void ReadWriteBannersChunk(OrcaStream& os)
{
os.ReadWriteChunk(ParkFileChunkType::BANNERS, [this, &os](OrcaStream::ChunkStream& cs) {
os.ReadWriteChunk(ParkFileChunkType::BANNERS, [&os](OrcaStream::ChunkStream& cs) {
auto version = os.GetHeader().TargetVersion;
if (cs.GetMode() == OrcaStream::Mode::WRITING)
{