mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:10:06 +00:00
Download manager lambda needs explicit this capture
This commit is contained in:
parent
a47c77e4a2
commit
b1807489bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue