summaryrefslogtreecommitdiff
path: root/platform/default/mbgl/util/shared_thread_pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default/mbgl/util/shared_thread_pool.hpp')
-rw-r--r--platform/default/mbgl/util/shared_thread_pool.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/default/mbgl/util/shared_thread_pool.hpp b/platform/default/mbgl/util/shared_thread_pool.hpp
index 04a3cb58d5..b8815db617 100644
--- a/platform/default/mbgl/util/shared_thread_pool.hpp
+++ b/platform/default/mbgl/util/shared_thread_pool.hpp
@@ -1,9 +1,11 @@
#pragma once
#include <mbgl/util/default_thread_pool.hpp>
+#include <mbgl/util/constants.hpp>
namespace mbgl {
-std::shared_ptr<ThreadPool> sharedThreadPool();
+std::shared_ptr<ThreadPool> sharedThreadPool(
+ std::size_t threadPoolSize = mbgl::util::DEFAULT_SHARED_THREAD_POOL_SIZE);
} // namespace mbgl