Download manager lambda needs explicit this capture

This commit is contained in:
Dan Paulat 2024-06-16 01:02:16 -05:00
parent a47c77e4a2
commit b1807489bb

View file

@ -39,7 +39,7 @@ void DownloadManager::Download(
const std::shared_ptr<request::DownloadRequest>& request) const std::shared_ptr<request::DownloadRequest>& request)
{ {
boost::asio::post(p->threadPool_, boost::asio::post(p->threadPool_,
[=]() [=, this]()
{ {
try try
{ {