diff options
Diffstat (limited to 'platform/node/src/node_map.hpp')
-rw-r--r-- | platform/node/src/node_map.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/node/src/node_map.hpp b/platform/node/src/node_map.hpp index 122e491442..106ef975f5 100644 --- a/platform/node/src/node_map.hpp +++ b/platform/node/src/node_map.hpp @@ -1,9 +1,8 @@ #pragma once -#include "node_thread_pool.hpp" - #include <mbgl/map/map.hpp> #include <mbgl/storage/file_source.hpp> +#include <mbgl/util/shared_thread_pool.hpp> #include <mbgl/gl/headless_backend.hpp> #include <mbgl/gl/offscreen_view.hpp> @@ -67,7 +66,7 @@ public: const float pixelRatio; NodeBackend backend; std::unique_ptr<mbgl::OffscreenView> view; - NodeThreadPool threadpool; + std::shared_ptr<mbgl::ThreadPool> threadPool; std::unique_ptr<mbgl::Map> map; std::exception_ptr error; |