1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:07:34 +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:
Tim Schumacher 2023-11-08 20:29:12 +01:00 committed by Tim Flynn
parent ac23ab42b3
commit a2f60911fe
101 changed files with 154 additions and 154 deletions

View file

@ -90,7 +90,7 @@ struct AK::Formatter<NumberFormat> : Formatter<FormatString> {
};
template<>
struct AK::Traits<NumberFormat> : public GenericTraits<NumberFormat> {
struct AK::Traits<NumberFormat> : public DefaultTraits<NumberFormat> {
static unsigned hash(NumberFormat const& f) { return f.hash(); }
};
@ -167,7 +167,7 @@ struct AK::Formatter<NumberSystem> : Formatter<FormatString> {
};
template<>
struct AK::Traits<NumberSystem> : public GenericTraits<NumberSystem> {
struct AK::Traits<NumberSystem> : public DefaultTraits<NumberSystem> {
static unsigned hash(NumberSystem const& s) { return s.hash(); }
};
@ -209,7 +209,7 @@ struct AK::Formatter<Unit> : Formatter<FormatString> {
};
template<>
struct AK::Traits<Unit> : public GenericTraits<Unit> {
struct AK::Traits<Unit> : public DefaultTraits<Unit> {
static unsigned hash(Unit const& u) { return u.hash(); }
};