mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
It is not guaranteed that inherited classes have the same address as the base of the derived class. In that case a reinterpret cast leads to undefined behavior. This occured on msvc ABI. See: https://godbolt.org/z/jGeEW3c48 Co-authored-by: ayeteadoe <ayeteadoe@gmail.com>
9.0 KiB
9.0 KiB