Change pointer format

pull/465/head
Vijay Pai 10 years ago
parent c3b02d9a67
commit 4ca479c3a1
  1. 5
      test/cpp/qps/server.cc

@ -130,8 +130,8 @@ static void RunServer() {
builder.AddPort(server_address);
builder.RegisterService(service.service());
ThreadPool *pool = new ThreadPool(FLAGS_server_threads);
builder.SetThreadPool(pool);
std::unique_ptr<ThreadPool> pool(new ThreadPool(FLAGS_server_threads));
builder.SetThreadPool(pool.get());
std::unique_ptr<Server> server(builder.BuildAndStart());
gpr_log(GPR_INFO, "Server listening on %s\n", server_address);
@ -144,7 +144,6 @@ static void RunServer() {
grpc_profiler_stop();
delete pool;
gpr_free(server_address);
}

Loading…
Cancel
Save