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
commit 6970bf03a9
Notes: sideshowbarker 2024-07-17 08:34:29 +09:00

View file

@ -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>;