diff options
author | Muxi Yan <mxyan@google.com> | 2018-06-06 10:42:44 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-06-06 10:42:44 -0700 |
commit | 136e2ebf550ba5f2f7878244ce8276998d0140e7 (patch) | |
tree | f84dd5377d995f5790bbf459b2265e22d3482649 /src/core/lib/iomgr/cfstream_handle.h | |
parent | c512b4f039f0c5cb503b9aa130c617969dd741ce (diff) |
Fix crash when debug
Diffstat (limited to 'src/core/lib/iomgr/cfstream_handle.h')
-rw-r--r-- | src/core/lib/iomgr/cfstream_handle.h | 4 |
1 files 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: |