提交 906334a6 编写于 作者: Q qiaolongfei

fix build error on mac

上级 e0a8c584
......@@ -71,8 +71,8 @@ class AsyncGRPCServer final : public RPCServer {
std::unique_ptr<::grpc::Server> server_;
// condition of the sub program
std::mutex barrier_mutex_;
mutable int barrier_cond_step_;
// std::mutex barrier_mutex_;
// mutable int barrier_cond_step_;
std::condition_variable barrier_condition_;
std::mutex mutex_ready_;
......
......@@ -222,8 +222,8 @@ static void FillRequestCtx(detail::RequestHandler *h, framework::Scope *scope,
h->SetDevCtx(dev_ctx);
h->SetExecutor(executor);
h->SetProgram(program);
h->SetPrefetchPreparedCtx(std::move(
std::unique_ptr<framework::ExecutorPrepareContext>(prefetch_ctx)));
h->SetPrefetchPreparedCtx(
std::unique_ptr<framework::ExecutorPrepareContext>(prefetch_ctx));
h->SetRPCServer(rpc_server);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册