aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/slice/slice_hash_table.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-05-22 10:12:38 -0700
committerGravatar GitHub <noreply@github.com>2018-05-22 10:12:38 -0700
commitba221d0423e61451b660b3d551c25cf155709285 (patch)
tree40e37ad629686a673e97b0dc2fd1f093595c07f4 /src/core/lib/slice/slice_hash_table.h
parent92ff0490edfcfdb082659fa13a10ce8857ddd48e (diff)
parent463e4d56193bbaec3977ce38fb8f0103d006794e (diff)
Merge branch 'master' into prototype-cfstream
Diffstat (limited to 'src/core/lib/slice/slice_hash_table.h')
-rw-r--r--src/core/lib/slice/slice_hash_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/slice/slice_hash_table.h b/src/core/lib/slice/slice_hash_table.h
index fbe9cc58e8..4bbcf88e89 100644
--- a/src/core/lib/slice/slice_hash_table.h
+++ b/src/core/lib/slice/slice_hash_table.h
@@ -81,6 +81,10 @@ class SliceHashTable : public RefCounted<SliceHashTable<T>> {
template <typename T2, typename... Args>
friend T2* New(Args&&... args);
+ // So Delete() can call our private dtor.
+ template <typename T2>
+ friend void Delete(T2*);
+
SliceHashTable(size_t num_entries, Entry* entries, ValueCmp value_cmp);
virtual ~SliceHashTable();