#include "shared_thread_pool.hpp" namespace mbgl { std::shared_ptr sharedThreadPool() { static std::weak_ptr weak; auto pool = weak.lock(); if (!pool) { weak = pool = std::make_shared(4); } return pool; } } // namespace mbgl