diff options
Diffstat (limited to 'src/core/lib/gprpp/memory.h')
-rw-r--r-- | src/core/lib/gprpp/memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/gprpp/memory.h b/src/core/lib/gprpp/memory.h index 28fcdf1779..e90bedcd9b 100644 --- a/src/core/lib/gprpp/memory.h +++ b/src/core/lib/gprpp/memory.h @@ -31,12 +31,12 @@ // protected destructor. #define GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_DELETE \ template <typename T> \ - friend void Delete(T*); + friend void grpc_core::Delete(T*); // Add this to a class that want to use New(), but has a private or // protected constructor. #define GPRC_ALLOW_CLASS_TO_USE_NON_PUBLIC_NEW \ template <typename T, typename... Args> \ - friend T* New(Args&&...); + friend T* grpc_core::New(Args&&...); namespace grpc_core { |