[macos,ios] initialize util::RunLoop in SDK rather than by default

This commit is contained in:
Konstantin Käfer
2016-10-06 16:10:09 +02:00
committed by John Firebaugh
parent 7bcb04a609
commit 08809b4d44
5 changed files with 21 additions and 1 deletions

View File

@@ -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 };