You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Per #6097 (comment), the -removeFromMapView: method in each of the concrete MGLStyleLayer subclasses relies on undefined behavior by reinterpret_casting a unique_ptr to the mbgl::style::Layer. This code was added to the iOS and macOS SDKs in #7048. The Android SDK is doing something a bit different in #7039: move-ing a unique_ptr but not reinterpret_casting it.
Per #6097 (comment), the
-removeFromMapView:
method in each of the concrete MGLStyleLayer subclasses relies on undefined behavior byreinterpret_cast
ing aunique_ptr
to thembgl::style::Layer
. This code was added to the iOS and macOS SDKs in #7048. The Android SDK is doing something a bit different in #7039:move
-ing aunique_ptr
but notreinterpret_cast
ing it./cc @jfirebaugh @boundsj
The text was updated successfully, but these errors were encountered: