diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-10-06 16:10:09 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-10-06 10:16:45 -0700 |
commit | 08809b4d446940d31d777c787971ea6ae6b3fa1c (patch) | |
tree | a155f96340b8d1b421eb73cea6eeefcb009b629f /test/tile | |
parent | 7bcb04a609415132db112b02507118835d519e36 (diff) | |
download | qtlocation-mapboxgl-08809b4d446940d31d777c787971ea6ae6b3fa1c.tar.gz |
[macos,ios] initialize util::RunLoop in SDK rather than by default
Diffstat (limited to 'test/tile')
-rw-r--r-- | test/tile/raster_tile.test.cpp | 2 | ||||
-rw-r--r-- | test/tile/vector_tile.test.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/tile/raster_tile.test.cpp b/test/tile/raster_tile.test.cpp index a5a7e65b35..4e9e907321 100644 --- a/test/tile/raster_tile.test.cpp +++ b/test/tile/raster_tile.test.cpp @@ -4,6 +4,7 @@ #include <mbgl/tile/tile_loader_impl.hpp> #include <mbgl/actor/thread_pool.hpp> +#include <mbgl/util/run_loop.hpp> #include <mbgl/map/transform.hpp> #include <mbgl/style/style.hpp> #include <mbgl/style/update_parameters.hpp> @@ -15,6 +16,7 @@ class RasterTileTest { public: FakeFileSource fileSource; TransformState transformState; + util::RunLoop loop; ThreadPool threadPool { 1 }; AnnotationManager annotationManager { 1.0 }; style::Style style { fileSource, 1.0 }; diff --git a/test/tile/vector_tile.test.cpp b/test/tile/vector_tile.test.cpp index e22b88a61d..fa75e24480 100644 --- a/test/tile/vector_tile.test.cpp +++ b/test/tile/vector_tile.test.cpp @@ -4,6 +4,7 @@ #include <mbgl/tile/tile_loader_impl.hpp> #include <mbgl/actor/thread_pool.hpp> +#include <mbgl/util/run_loop.hpp> #include <mbgl/map/transform.hpp> #include <mbgl/style/style.hpp> #include <mbgl/style/update_parameters.hpp> @@ -15,6 +16,7 @@ class VectorTileTest { public: FakeFileSource fileSource; TransformState transformState; + util::RunLoop loop; ThreadPool threadPool { 1 }; AnnotationManager annotationManager { 1.0 }; style::Style style { fileSource, 1.0 }; |