diff --git a/include/grpc++/impl/codegen/async_unary_call.h b/include/grpc++/impl/codegen/async_unary_call.h index aadf77d8a82df496ce85c38745722353dc4588ad..1959a27acf9f379862ac72f6f97a305f0e1eaa93 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<CallOpSendInitialMetadata, CallOpSendMessage, CallOpClientSendClose> diff --git a/include/grpc++/impl/codegen/completion_queue.h b/include/grpc++/impl/codegen/completion_queue.h index 57333d71581c12ba2fb95957c98cefdfef3bfb16..c0ac391a9fddabbea834b060f2fcf12197af3950 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<gpr_atm>(1)); - }; + } void CompleteAvalanching(); protected: