From 0cd689202d88c5e37481fc5e05db6417f62f6d40 Mon Sep 17 00:00:00 2001 From: Garret Kelly Date: Wed, 7 Jun 2017 14:56:06 -0400 Subject: [PATCH] Remove extraneous semicolons. Fixes compilation if building with -Wextra-semi. --- include/grpc++/impl/codegen/async_unary_call.h | 2 +- include/grpc++/impl/codegen/completion_queue.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/grpc++/impl/codegen/async_unary_call.h b/include/grpc++/impl/codegen/async_unary_call.h index aadf77d8a82..1959a27acf9 100644 --- a/include/grpc++/impl/codegen/async_unary_call.h +++ b/include/grpc++/impl/codegen/async_unary_call.h @@ -154,7 +154,7 @@ class ClientAsyncResponseReader final // disable operator new static void* operator new(std::size_t size); - static void* operator new(std::size_t size, void* p) { return p; }; + static void* operator new(std::size_t size, void* p) { return p; } SneakyCallOpSet diff --git a/include/grpc++/impl/codegen/completion_queue.h b/include/grpc++/impl/codegen/completion_queue.h index 57333d71581..c0ac391a9fd 100644 --- a/include/grpc++/impl/codegen/completion_queue.h +++ b/include/grpc++/impl/codegen/completion_queue.h @@ -182,7 +182,7 @@ class CompletionQueue : private GrpcLibraryCodegen { void RegisterAvalanching() { gpr_atm_no_barrier_fetch_add(&avalanches_in_flight_, static_cast(1)); - }; + } void CompleteAvalanching(); protected: