aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/audio/audout_u.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-03 11:28:18 -0400
committerLioncash <mathew1800@gmail.com>2020-08-03 11:54:04 -0400
commitb249e4e0ce15c44bd0d917a17f79510af868173b (patch)
treed4dc63a692c446e87ee614481030af16385e88ba /src/core/hle/service/audio/audout_u.cpp
parent9b75481755c8d566bc666465d659115bba2b2578 (diff)
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.
Diffstat (limited to 'src/core/hle/service/audio/audout_u.cpp')
-rw-r--r--src/core/hle/service/audio/audout_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 106e89743..dd80dd1dc 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -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: