mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17: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
|
@ -61,7 +61,7 @@ struct AK::Formatter<DisplayPattern> : Formatter<FormatString> {
|
|||
};
|
||||
|
||||
template<>
|
||||
struct AK::Traits<DisplayPattern> : public GenericTraits<DisplayPattern> {
|
||||
struct AK::Traits<DisplayPattern> : public DefaultTraits<DisplayPattern> {
|
||||
static unsigned hash(DisplayPattern const& p) { return p.hash(); }
|
||||
};
|
||||
|
||||
|
@ -110,7 +110,7 @@ struct AK::Formatter<ListPatterns> : Formatter<FormatString> {
|
|||
};
|
||||
|
||||
template<>
|
||||
struct AK::Traits<ListPatterns> : public GenericTraits<ListPatterns> {
|
||||
struct AK::Traits<ListPatterns> : public DefaultTraits<ListPatterns> {
|
||||
static unsigned hash(ListPatterns const& p) { return p.hash(); }
|
||||
};
|
||||
|
||||
|
@ -139,7 +139,7 @@ struct AK::Formatter<TextLayout> : Formatter<FormatString> {
|
|||
};
|
||||
|
||||
template<>
|
||||
struct AK::Traits<TextLayout> : public GenericTraits<TextLayout> {
|
||||
struct AK::Traits<TextLayout> : public DefaultTraits<TextLayout> {
|
||||
static unsigned hash(TextLayout const& t) { return t.hash(); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue