mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[wpinet] Fix resolver thread on newer versions of macOS (#7372)
Implicit capture of this is deprecated.
This commit is contained in:
@@ -35,7 +35,7 @@ void ResolverThread::AddServiceRef(DNSServiceRef serviceRef,
|
||||
thread.join();
|
||||
}
|
||||
running = true;
|
||||
thread = std::thread([=] { ThreadMain(); });
|
||||
thread = std::thread([this] { ThreadMain(); });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user