Explicit capture of this

This commit is contained in:
Dan Paulat 2024-01-27 13:06:18 -06:00
parent 636f444c40
commit fb7f25e0bd

View file

@ -957,7 +957,7 @@ void RadarProductManagerImpl::LoadNexradFileAsync(
std::chrono::system_clock::time_point time) std::chrono::system_clock::time_point time)
{ {
boost::asio::post(threadPool_, boost::asio::post(threadPool_,
[=, &mutex]() [=, this, &mutex]()
{ LoadNexradFile(load, request, mutex, time, radarId_); }); { LoadNexradFile(load, request, mutex, time, radarId_); });
} }