summaryrefslogtreecommitdiff
path: root/test/test-files.json
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 /test/test-files.json
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 'test/test-files.json')
-rw-r--r--test/test-files.json1
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",