C++20: Avoid implicit capture
This commit is contained in:
父節點
ad42c0f046
當前提交
ed61003636
@ -36,7 +36,7 @@ bool CLIServer::detachServer(std::string socketpath)
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
auto worker = [=]
|
||||
auto worker = [this, s]
|
||||
{
|
||||
while(true)
|
||||
{
|
||||
|
載入中…
新增問題並參考
Block a user