aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-04-04 07:50:00 -0700
committerGravatar Mark D. Roth <roth@google.com>2018-04-04 07:50:00 -0700
commitb7489ad6ee05172268b31213eabc4b44a2c82617 (patch)
tree44e3c925074d7af882ac80ddd22423f376272b69 /src/core
parentd536dba4d3234ba28066a31f7a092ce9daa89ec4 (diff)
Fix build failure.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/slice/slice_weak_hash_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/slice/slice_weak_hash_table.h b/src/core/lib/slice/slice_weak_hash_table.h
index 9d0ddfc2d2..dc3ccc5dad 100644
--- a/src/core/lib/slice/slice_weak_hash_table.h
+++ b/src/core/lib/slice/slice_weak_hash_table.h
@@ -65,6 +65,10 @@ class SliceWeakHashTable : public RefCounted<SliceWeakHashTable<T, Size>> {
template <typename T2, typename... Args>
friend T2* New(Args&&... args);
+ // So Delete() can call our private dtor.
+ template <typename T2>
+ friend void Delete(T2*);
+
SliceWeakHashTable() = default;
~SliceWeakHashTable() = default;