summaryrefslogtreecommitdiff
path: root/src/mbgl/util/thread_pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/thread_pool.hpp')
-rw-r--r--src/mbgl/util/thread_pool.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/thread_pool.hpp b/src/mbgl/util/thread_pool.hpp
index 7642f9b4ca..e39c1abc73 100644
--- a/src/mbgl/util/thread_pool.hpp
+++ b/src/mbgl/util/thread_pool.hpp
@@ -60,11 +60,11 @@ private:
static_assert(N > 0, "Thread count must be more than zero.");
};
-using SequencedScheduler = ThreadedScheduler<1>;
+class SequencedScheduler : public ThreadedScheduler<1> {};
template <std::size_t extra>
using ParallelScheduler = ThreadedScheduler<1 + extra>;
-using ThreadPool = ParallelScheduler<3>;
+class ThreadPool : public ParallelScheduler<3> {};
} // namespace mbgl