mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
AK: Mark Span<T> as trivial
This commit is contained in:
parent
f59bd33876
commit
6970bf03a9
1 changed files with 2 additions and 0 deletions
|
@ -257,6 +257,8 @@ struct Traits<Span<T>> : public GenericTraits<Span<T>> {
|
||||||
}
|
}
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
constexpr static bool is_trivial() { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
using ReadonlyBytes = Span<u8 const>;
|
using ReadonlyBytes = Span<u8 const>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue