From ffc7258cbcce7db603dcc5978020f042d3f7ebf7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 15 Jul 2019 06:03:35 -0700 Subject: Remove an unused lambda capture --- OpenAL32/alSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index c3866d1f..498875bf 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -2770,7 +2770,7 @@ START_API_FUNC { /* TODO: Send state change event? */ std::for_each(srchandles, srchandles+n, - [&context](ALsource *source) -> void + [](ALsource *source) -> void { source->OffsetType = AL_NONE; source->Offset = 0.0; -- cgit v1.2.3