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.37k stars 1.33k forks source link

[qt] Fix missing std::move when building on macOS with Xcode 14.3 #16673

Open alcroito opened 1 year ago

alcroito commented 1 year ago

Newer macos SDK shipped with Xcode 14.3 has likely re-ordered their include headers, which means std::move is not available anymore via the includes that unique_any.hpp has.

Explicitly include the utility header to make std::move available.

Launch Checklist