"this" must be explicit in lambda capture

This commit is contained in:
Dan Paulat 2023-04-17 18:29:37 -05:00
parent 31db9a4315
commit a3afd71f03
19 changed files with 132 additions and 129 deletions

View file

@ -292,7 +292,7 @@ void Level2ProductViewImpl::SetProduct(common::Level2Product product)
void Level2ProductView::Update()
{
util::async([=]() { ComputeSweep(); });
util::async([this]() { ComputeSweep(); });
}
void Level2ProductView::UpdateColorTable()

View file

@ -163,7 +163,7 @@ void Level3ProductView::LoadColorTable(
void Level3ProductView::Update()
{
util::async([=]() { ComputeSweep(); });
util::async([this]() { ComputeSweep(); });
}
void Level3ProductView::UpdateColorTable()