From edc3963955f691d97c2ca263854d513eae88a04a Mon Sep 17 00:00:00 2001 From: Thad House Date: Fri, 8 Nov 2024 20:23:17 -0800 Subject: [PATCH] [wpinet] Fix resolver thread on newer versions of macOS (#7372) Implicit capture of this is deprecated. --- wpinet/src/main/native/macOS/ResolverThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpinet/src/main/native/macOS/ResolverThread.cpp b/wpinet/src/main/native/macOS/ResolverThread.cpp index b113fd817d..259cf47074 100644 --- a/wpinet/src/main/native/macOS/ResolverThread.cpp +++ b/wpinet/src/main/native/macOS/ResolverThread.cpp @@ -35,7 +35,7 @@ void ResolverThread::AddServiceRef(DNSServiceRef serviceRef, thread.join(); } running = true; - thread = std::thread([=] { ThreadMain(); }); + thread = std::thread([this] { ThreadMain(); }); } }