diff --git a/flex/engines/http_server/codegen_proxy.cc b/flex/engines/http_server/codegen_proxy.cc index 2436cb3147d8..3bd7a1932602 100644 --- a/flex/engines/http_server/codegen_proxy.cc +++ b/flex/engines/http_server/codegen_proxy.cc @@ -218,7 +218,7 @@ seastar::future> CodegenProxy::CallCodegenCmd( } LOG(INFO) << "Start call codegen cmd: [" << cmd << "]"; - return hiactor::thread_resource_pool::submit_work([cmd, &desc_file] { + return hiactor::thread_resource_pool::submit_work([cmd, desc_file] { // auto res = std::system(cmd.c_str()); boost::process::ipstream stdout_pipe; boost::process::ipstream stderr_pipe;