pull/13288/head
ncteisen 7 years ago
parent f2132f1c5d
commit 215209087e
  1. 3
      src/core/lib/support/abstract.h
  2. 2
      src/core/lib/support/manual_constructor.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 */

@ -33,7 +33,7 @@ namespace grpc_core {
if ((x)) \
; \
else \
abort()
abort()
template <class Needle, class... Haystack>
class is_one_of;

Loading…
Cancel
Save