yuzu: Resolve C++20 deprecation warnings related to lambda captures

C++20 deprecates capturing the this pointer via the '=' capture.
Instead, we replace it or extend the capture specification.
This commit is contained in:
Lioncash 2020-08-03 11:28:18 -04:00
parent 9b75481755
commit b249e4e0ce
9 changed files with 88 additions and 81 deletions

View file

@ -71,7 +71,7 @@ public:
stream = audio_core.OpenStream(system.CoreTiming(), audio_params.sample_rate,
audio_params.channel_count, std::move(unique_name),
[=]() { buffer_event.writable->Signal(); });
[this] { buffer_event.writable->Signal(); });
}
private: