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 /test/test-files.json | |
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 'test/test-files.json')
-rw-r--r-- | test/test-files.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-files.json b/test/test-files.json index a98e896e7e..293a0804e2 100644 --- a/test/test-files.json +++ b/test/test-files.json @@ -19,6 +19,7 @@ "test/gl/object.test.cpp", "test/map/map.test.cpp", "test/map/prefetch.test.cpp", + "test/map/snapshotter.test.cpp", "test/map/transform.test.cpp", "test/math/clamp.test.cpp", "test/math/minmax.test.cpp", |