Avoid copy on slice_ref.

This was accidentially added in PR #18407
pull/18953/head
Soheil Hassas Yeganeh 6 years ago
parent f1dfe791ab
commit 93dc228a8a
  1. 2
      src/core/lib/slice/slice_internal.h

@ -222,7 +222,7 @@ inline uint32_t grpc_slice_refcount::Hash(const grpc_slice& slice) {
g_hash_seed);
}
inline grpc_slice grpc_slice_ref_internal(const grpc_slice& slice) {
inline const grpc_slice& grpc_slice_ref_internal(const grpc_slice& slice) {
if (slice.refcount) {
slice.refcount->Ref();
}

Loading…
Cancel
Save