summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-07-14 15:33:16 +0200
committerGitHub <noreply@github.com>2020-07-14 15:33:16 +0200
commitedb291b3be33fe9382a0bbe0e5cdf35aea6db180 (patch)
treee77e40520dd86738ed561459f3d5645d862ed900
parentMerge pull request #4335 from lat9nq/fix-set-per-game-multicore (diff)
parentudp: Silence a C++20 deprecation warning (diff)
downloadyuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.tar
yuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.tar.gz
yuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.tar.bz2
yuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.tar.lz
yuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.tar.xz
yuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.tar.zst
yuzu-edb291b3be33fe9382a0bbe0e5cdf35aea6db180.zip
-rw-r--r--src/input_common/udp/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/udp/client.cpp b/src/input_common/udp/client.cpp
index da5227058..e63c73c4f 100644
--- a/src/input_common/udp/client.cpp
+++ b/src/input_common/udp/client.cpp
@@ -234,7 +234,7 @@ CalibrationConfigurationJob::CalibrationConfigurationJob(
std::function<void(Status)> status_callback,
std::function<void(u16, u16, u16, u16)> data_callback) {
- std::thread([=] {
+ std::thread([=, this] {
constexpr u16 CALIBRATION_THRESHOLD = 100;
u16 min_x{UINT16_MAX};