diff --git a/cliserver.cpp b/cliserver.cpp index 2ba76d8..1641dfb 100644 --- a/cliserver.cpp +++ b/cliserver.cpp @@ -36,7 +36,7 @@ bool CLIServer::detachServer(std::string socketpath) exit(EXIT_FAILURE); } - auto worker = [=] + auto worker = [this, s] { while(true) {