mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
AK: Rename GenericTraits to DefaultTraits
This feels like a more fitting name for something that provides the default values for Traits.
This commit is contained in:
parent
ac23ab42b3
commit
a2f60911fe
101 changed files with 154 additions and 154 deletions
|
@ -105,7 +105,7 @@ struct AK::Formatter<Core::SocketAddress> : Formatter<DeprecatedString> {
|
|||
};
|
||||
|
||||
template<>
|
||||
struct AK::Traits<Core::SocketAddress> : public GenericTraits<Core::SocketAddress> {
|
||||
struct AK::Traits<Core::SocketAddress> : public DefaultTraits<Core::SocketAddress> {
|
||||
static unsigned hash(Core::SocketAddress const& socket_address)
|
||||
{
|
||||
return pair_int_hash(Traits<IPv4Address>::hash(socket_address.ipv4_address()), Traits<u16>::hash(socket_address.port()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue