Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add assertions to ensure memcpySpan and memsetSpan are used on trivia…
…lly copyable spans https://bugs.webkit.org/show_bug.cgi?id=264619 Reviewed by Darin Adler. Bad things are likely to happen if used on objects with custom constructors or destructors or assignment operators, because they won't be executed. Add safety checks for this. * Source/WTF/wtf/Algorithms.h: (WTF::memcpySpan): (WTF::memsetSpan): Canonical link: https://commits.webkit.org/270796@main
- Loading branch information