Fix cq creation code after merge

This commit is contained in:
Sree Kuchibhotla 2017-03-30 13:25:06 -07:00
parent e04906dc54
commit 08bbdb8801
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ BENCHMARK(BM_CreateDestroyCpp);
static void BM_CreateDestroyCpp2(benchmark::State& state) {
TrackCounters track_counters;
while (state.KeepRunning()) {
grpc_completion_queue* core_cq = grpc_completion_queue_create(NULL);
grpc_completion_queue* core_cq =
grpc_completion_queue_create_for_next(NULL);
CompletionQueue cq(core_cq);
}
track_counters.Finish(state);