util/IntrusiveHashSet: remove unused type alias "ListHookTraits"

This commit is contained in:
Max Kellermann
2022-12-01 10:37:32 +01:00
committed by Max Kellermann
parent 65f1cafa43
commit fe3e1d31bf

View File

@@ -66,9 +66,6 @@ struct IntrusiveHashSetBaseHookTraits {
template<typename U> template<typename U>
using Hook = typename IntrusiveHashSetHookDetection<U>::type; using Hook = typename IntrusiveHashSetHookDetection<U>::type;
using ListHookTraits =
IntrusiveListMemberHookTraits<&T::intrusive_hash_set_siblings>;
static constexpr T *Cast(Hook<T> *node) noexcept { static constexpr T *Cast(Hook<T> *node) noexcept {
return static_cast<T *>(node); return static_cast<T *>(node);
} }