C++20: Avoid implicit capture

Cette révision appartient à :
Albert S. 2021-10-25 18:09:46 +02:00
Parent ad42c0f046
révision ed61003636
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -36,7 +36,7 @@ bool CLIServer::detachServer(std::string socketpath)
exit(EXIT_FAILURE);
}
auto worker = [=]
auto worker = [this, s]
{
while(true)
{