mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:40:05 +00:00
"this" must be explicit in lambda capture
This commit is contained in:
parent
31db9a4315
commit
a3afd71f03
19 changed files with 132 additions and 129 deletions
|
|
@ -292,7 +292,7 @@ void Level2ProductViewImpl::SetProduct(common::Level2Product product)
|
|||
|
||||
void Level2ProductView::Update()
|
||||
{
|
||||
util::async([=]() { ComputeSweep(); });
|
||||
util::async([this]() { ComputeSweep(); });
|
||||
}
|
||||
|
||||
void Level2ProductView::UpdateColorTable()
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ void Level3ProductView::LoadColorTable(
|
|||
|
||||
void Level3ProductView::Update()
|
||||
{
|
||||
util::async([=]() { ComputeSweep(); });
|
||||
util::async([this]() { ComputeSweep(); });
|
||||
}
|
||||
|
||||
void Level3ProductView::UpdateColorTable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue