From 136e2ebf550ba5f2f7878244ce8276998d0140e7 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Wed, 6 Jun 2018 10:42:44 -0700 Subject: Fix crash when debug --- src/core/lib/iomgr/cfstream_handle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/iomgr/cfstream_handle.h b/src/core/lib/iomgr/cfstream_handle.h index 9e07dfb60a..52de9d15b8 100644 --- a/src/core/lib/iomgr/cfstream_handle.h +++ b/src/core/lib/iomgr/cfstream_handle.h @@ -46,9 +46,9 @@ class CFStreamHandle final { void NotifyOnWrite(grpc_closure* closure); void Shutdown(grpc_error* error); - void Ref(const char* file = nullptr, int line = 0, + void Ref(const char* file = "", int line = 0, const char* reason = nullptr); - void Unref(const char* file = nullptr, int line = 0, + void Unref(const char* file = "", int line = 0, const char* reason = nullptr); private: -- cgit v1.2.3