Remove unnecessary public:

pull/20350/head
Esun Kim 5 years ago
parent 1743519aa9
commit 90e5ade73b
  1. 2
      src/core/lib/gprpp/ref_counted.h

@ -39,7 +39,6 @@ namespace grpc_core {
// PolymorphicRefCount enforces polymorphic destruction of RefCounted. // PolymorphicRefCount enforces polymorphic destruction of RefCounted.
class PolymorphicRefCount { class PolymorphicRefCount {
public:
protected: protected:
GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE
@ -50,7 +49,6 @@ class PolymorphicRefCount {
// RefCounted. Please refer to grpc_core::RefCounted for more details, and // RefCounted. Please refer to grpc_core::RefCounted for more details, and
// when in doubt use PolymorphicRefCount. // when in doubt use PolymorphicRefCount.
class NonPolymorphicRefCount { class NonPolymorphicRefCount {
public:
protected: protected:
GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE

Loading…
Cancel
Save