diff --git a/src/core/lib/support/abstract.h b/src/core/lib/support/abstract.h index e8b8c094588..ddf472bc37a 100644 --- a/src/core/lib/support/abstract.h +++ b/src/core/lib/support/abstract.h @@ -23,6 +23,7 @@ // doesn't have a c++ runtime, it will hit a linker error on delete unless // a we define a virtual operator delete. See this blog for more info: // https://eli.thegreenplace.net/2015/c-deleting-destructors-and-virtual-operator-delete/ -#define GRPC_ABSTRACT_BASE_CLASS static void operator delete(void *p) { abort(); } +#define GRPC_ABSTRACT_BASE_CLASS \ + static void operator delete(void* p) { abort(); } #endif /* GRPC_CORE_LIB_SUPPORT_ABSTRACT_H */ diff --git a/src/core/lib/support/manual_constructor.h b/src/core/lib/support/manual_constructor.h index 56e8fd18b9c..8160ad56d5d 100644 --- a/src/core/lib/support/manual_constructor.h +++ b/src/core/lib/support/manual_constructor.h @@ -33,7 +33,7 @@ namespace grpc_core { if ((x)) \ ; \ else \ - abort() + abort() template class is_one_of;