C++20: Avoid implicit capture
This commit is contained in:
parent
ad42c0f046
commit
ed61003636
@ -36,7 +36,7 @@ bool CLIServer::detachServer(std::string socketpath)
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto worker = [=]
|
auto worker = [this, s]
|
||||||
{
|
{
|
||||||
while(true)
|
while(true)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user