mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.35k stars 1.33k forks source link

Use references when iterating over elements #16550

Closed JannikGM closed 3 years ago

JannikGM commented 3 years ago

This PR changes code to avoid warnings (errors at -Werror) by Xcode 12 / recent Clang (see #16540). (Note that this doesn't solve all issues with Xcode 12; so it still won't work out of the box. I'll probably create a follow-up PR in the near future if nobody beats me to it)

In addition to those & changes, I also made the variable naming in convertGeometry more consistent.


(It would be nice if you can tag this PR for hacktoberfest inclusion as described in https://hacktoberfest.digitalocean.com/details#rules - feel free to ignore this last bit if you don't want this)

stale[bot] commented 3 years ago

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.