summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-10-31 16:27:49 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-11-22 13:56:38 -0800
commitba63d06cfc09b016ce0ddfcaaa297bd259cadf09 (patch)
treead1755da7c70b3322ced1dc1c8ff905f599a0962 /test
parent934fa4933cf694cd835780b898b0ef0e51a74020 (diff)
downloadqtlocation-mapboxgl-ba63d06cfc09b016ce0ddfcaaa297bd259cadf09.tar.gz
[core] Use Actors for CustomTileLoader invocation from bindings.
Diffstat (limited to 'test')
-rw-r--r--test/style/source.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp
index 6a2122161d..eb419e8080 100644
--- a/test/style/source.test.cpp
+++ b/test/style/source.test.cpp
@@ -25,7 +25,7 @@
#include <mbgl/util/image.hpp>
#include <mbgl/util/tileset.hpp>
-#include <mbgl/util/default_thread_pool.hpp>
+#include <mbgl/util/shared_thread_pool.hpp>
#include <mbgl/util/logging.hpp>
#include <mbgl/util/optional.hpp>
#include <mbgl/util/range.hpp>
@@ -552,7 +552,7 @@ TEST(Source, ImageSourceImageUpdate) {
TEST(Source, CustomGeometrySourceSetTileData) {
SourceTest test;
-
+ std::shared_ptr<ThreadPool> threadPool = sharedThreadPool();
CustomGeometrySource source("source", CustomGeometrySource::Options());
source.loadDescription(test.fileSource);