summaryrefslogtreecommitdiff
path: root/platform/qt/src/qmapboxgl_p.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/qt/src/qmapboxgl_p.hpp')
-rw-r--r--platform/qt/src/qmapboxgl_p.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/qt/src/qmapboxgl_p.hpp b/platform/qt/src/qmapboxgl_p.hpp
index 11b5f695ca..c35ac4e7ba 100644
--- a/platform/qt/src/qmapboxgl_p.hpp
+++ b/platform/qt/src/qmapboxgl_p.hpp
@@ -4,6 +4,7 @@
#include <mbgl/map/map.hpp>
#include <mbgl/map/view.hpp>
+#include <mbgl/platform/default/thread_pool.hpp>
#include <mbgl/storage/default_file_source.hpp>
#include <mbgl/util/geo.hpp>
@@ -34,6 +35,7 @@ public:
QMapboxGL *q_ptr { nullptr };
std::unique_ptr<mbgl::DefaultFileSource> fileSourceObj;
+ mbgl::ThreadPool threadPool;
std::unique_ptr<mbgl::Map> mapObj;
bool dirty { false };