diff --git a/AK/Traits.h b/AK/Traits.h index 31053f6bcd2..2d4a95e6865 100644 --- a/AK/Traits.h +++ b/AK/Traits.h @@ -83,15 +83,6 @@ struct Traits : public DefaultTraits { static constexpr bool is_trivially_serializable() { return Traits>::is_trivially_serializable(); } }; -template -requires(Detail::IsPointerOfType) struct Traits : public DefaultTraits { - static unsigned hash(T const value) { return string_hash(value, strlen(value)); } - static constexpr bool equals(T const a, T const b) { return strcmp(a, b); } - static constexpr bool is_trivial() { return true; } - // NOTE: Trivial types always have fast equality checks. - static constexpr bool may_have_slow_equality_check() { return false; } -}; - } #if USING_AK_GLOBALLY