diff options
author | Ander Conselvan de Oliveira <ander.deoliveira@mapbox.com> | 2019-11-04 08:12:23 +0200 |
---|---|---|
committer | Ander Conselvan de Oliveira <ander.deoliveira@mapbox.com> | 2019-11-05 04:43:31 +0200 |
commit | 2dbb7f5064c56a3c15741c8fd023d07c2c0ad209 (patch) | |
tree | 0ad50e13c055be777a7978f9d41e3928d0fa91d8 /next/platform/node/CMakeLists.txt | |
parent | d8b1b2bacf0dd9812d62077a825067441037791b (diff) | |
download | qtlocation-mapboxgl-upstream/anderco-win-snapshot.tar.gz |
Fix MapSnapshotter build failure on Windowsupstream/anderco-win-snapshot
MSVC implementation of std::promise is buggy and only works with types
that can be default-constructed. Wrap LatLngBounds in such a struct to
avoid a compilation failure in the instantiation of ask() inside
MapSnapshotter::getRegion() since that would create a
std::promise<LanLngBounds>.
Diffstat (limited to 'next/platform/node/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions