summaryrefslogtreecommitdiff
path: root/src/mbgl/util
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-10-28 17:12:58 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-11-05 11:45:38 +0200
commit31421f8448d0192d04b95e31a0aecde2675b5988 (patch)
tree6fa71a14f10728e49997d8581e00929bce59c414 /src/mbgl/util
parentd8b1b2bacf0dd9812d62077a825067441037791b (diff)
downloadqtlocation-mapboxgl-31421f8448d0192d04b95e31a0aecde2675b5988.tar.gz
[core] Add Scheduler::scheduleAndReplyValue() API
Diffstat (limited to 'src/mbgl/util')
-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