diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-08 22:11:32 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2022-11-08 22:34:01 +0100 |
commit | e8af3e7e8dfd5273dd2b8d41efaa46cbbfa8651c (patch) | |
tree | d90d5a36eb5b1dc39f1a3d697790ea3c62a40563 /core/os/spin_lock.h | |
parent | 60e25835a5d19dee9382052549d7f7a6523a6b97 (diff) |
Fix crash from impossible Object::cast_to
A Vector<>-variant can't be used in an Object::cast_to, because
Vector doesn't inherit from Object and this cast always returns a nullptr.
This patch replaces the Object::cast_to and accesses the contained
Vector directly.
Diffstat (limited to 'core/os/spin_lock.h')
0 files changed, 0 insertions, 0 deletions