diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-06-22 14:33:21 -0700 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-07-18 10:45:12 +0200 |
commit | e35cbbae55ab01f33690b1bb2e918c5f8393b854 (patch) | |
tree | 9c4a1d27c7ef3e8e0edf5076ee1404f2a3c2aa29 /test/style | |
parent | 8ae70105463db78699ef3743fb24503ed8feb054 (diff) | |
download | qtlocation-mapboxgl-e35cbbae55ab01f33690b1bb2e918c5f8393b854.tar.gz |
[core] mutate style on annotation mutations immediately
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/source.test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index 8b9cda1db3..919260ffe9 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -3,6 +3,7 @@ #include <mbgl/test/stub_style_observer.hpp> #include <mbgl/test/stub_render_source_observer.hpp> +#include <mbgl/style/style.hpp> #include <mbgl/style/source_impl.hpp> #include <mbgl/style/sources/raster_source.hpp> #include <mbgl/style/sources/vector_source.hpp> @@ -47,7 +48,8 @@ public: Transform transform; TransformState transformState; ThreadPool threadPool { 1 }; - AnnotationManager annotationManager; + Style style { loop, fileSource, 1 }; + AnnotationManager annotationManager { style }; ImageManager imageManager; GlyphManager glyphManager { fileSource }; |