1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:37:46 +00:00

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; return hash;
} }
constexpr static bool is_trivial() { return true; }
}; };
using ReadonlyBytes = Span<u8 const>; using ReadonlyBytes = Span<u8 const>;