mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-23 04:52:39 +00:00
Just casting a void* to a T* and dereferencing it is not particularly safe. Also UBSAN was complaining. Use memcpy into a default constructed T instead and require that the T be trivially copyable.