Switched to C++20
This commit is contained in:
@@ -139,7 +139,7 @@ namespace Scanner
|
||||
void ScannerService::requestImmediateScan(bool force)
|
||||
{
|
||||
abortScan();
|
||||
_ioService.post([=]()
|
||||
_ioService.post([this, force]
|
||||
{
|
||||
if (_abortScan)
|
||||
return;
|
||||
@@ -156,7 +156,7 @@ namespace Scanner
|
||||
void ScannerService::requestReload()
|
||||
{
|
||||
abortScan();
|
||||
_ioService.post([=]()
|
||||
_ioService.post([this]()
|
||||
{
|
||||
if (_abortScan)
|
||||
return;
|
||||
@@ -234,7 +234,7 @@ namespace Scanner
|
||||
|
||||
void ScannerService::scheduleScan(bool force, const Wt::WDateTime& dateTime)
|
||||
{
|
||||
auto cb{ [=](boost::system::error_code ec)
|
||||
auto cb{ [this, force](boost::system::error_code ec)
|
||||
{
|
||||
if (ec)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user