mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +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
|
@ -66,13 +66,13 @@ private:
|
|||
namespace AK {
|
||||
|
||||
template<>
|
||||
struct Traits<Line::Key> : public GenericTraits<Line::Key> {
|
||||
struct Traits<Line::Key> : public DefaultTraits<Line::Key> {
|
||||
static constexpr bool is_trivial() { return true; }
|
||||
static unsigned hash(Line::Key k) { return pair_int_hash(k.key, k.modifiers); }
|
||||
};
|
||||
|
||||
template<>
|
||||
struct Traits<Vector<Line::Key>> : public GenericTraits<Vector<Line::Key>> {
|
||||
struct Traits<Vector<Line::Key>> : public DefaultTraits<Vector<Line::Key>> {
|
||||
static constexpr bool is_trivial() { return false; }
|
||||
static unsigned hash(Vector<Line::Key> const& ks)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue