AK: Mark Span<T> as trivial

This commit is contained in:
Ali Mohammad Pur 2022-11-03 10:30:12 +03:30 committed by Ali Mohammad Pur
parent f59bd33876
commit 6970bf03a9

View file

@ -257,6 +257,8 @@ struct Traits<Span<T>> : public GenericTraits<Span<T>> {
}
return hash;
}
constexpr static bool is_trivial() { return true; }
};
using ReadonlyBytes = Span<u8 const>;