summaryrefslogtreecommitdiff
path: root/mapbox-gl-js
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.deoliveira@mapbox.com>2019-11-04 08:12:23 +0200
committerAnder Conselvan de Oliveira <ander.deoliveira@mapbox.com>2019-11-05 04:43:31 +0200
commit2dbb7f5064c56a3c15741c8fd023d07c2c0ad209 (patch)
tree0ad50e13c055be777a7978f9d41e3928d0fa91d8 /mapbox-gl-js
parentd8b1b2bacf0dd9812d62077a825067441037791b (diff)
downloadqtlocation-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 'mapbox-gl-js')
0 files changed, 0 insertions, 0 deletions