|
|
|
@ -44,7 +44,7 @@ class PolymorphicRefCount { |
|
|
|
|
GRPC_ABSTRACT_BASE_CLASS |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE |
|
|
|
|
GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE |
|
|
|
|
|
|
|
|
|
virtual ~PolymorphicRefCount() = default; |
|
|
|
|
}; |
|
|
|
@ -57,7 +57,7 @@ class NonPolymorphicRefCount { |
|
|
|
|
GRPC_ABSTRACT_BASE_CLASS |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE |
|
|
|
|
GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE |
|
|
|
|
|
|
|
|
|
~NonPolymorphicRefCount() = default; |
|
|
|
|
}; |
|
|
|
@ -233,7 +233,7 @@ class RefCounted : public Impl { |
|
|
|
|
GRPC_ABSTRACT_BASE_CLASS |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE |
|
|
|
|
GRPC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE |
|
|
|
|
|
|
|
|
|
// TraceFlagT is defined to accept both DebugOnlyTraceFlag and TraceFlag.
|
|
|
|
|
// Note: RefCount tracing is only enabled on debug builds, even when a
|
|
|
|
|