summaryrefslogtreecommitdiff
path: root/platform/qt/src/thread_local.cpp
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-07-25 18:35:38 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-08-09 12:08:21 +0300
commitf4f4d13b70cfc26e44c7cbc679acbe9609ae2936 (patch)
treef8dcd4f78ddf2f5d3e0227add7cd6bc3603515dd /platform/qt/src/thread_local.cpp
parent2a8cc4b3e15037554fb357f882a67472adb4161e (diff)
downloadqtlocation-mapboxgl-f4f4d13b70cfc26e44c7cbc679acbe9609ae2936.tar.gz
[all] ensure runloop is the current scheduler
Diffstat (limited to 'platform/qt/src/thread_local.cpp')
-rw-r--r--platform/qt/src/thread_local.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/src/thread_local.cpp b/platform/qt/src/thread_local.cpp
index bf2103c98f..467bfb0d05 100644
--- a/platform/qt/src/thread_local.cpp
+++ b/platform/qt/src/thread_local.cpp
@@ -1,6 +1,6 @@
#include <mbgl/util/thread_local.hpp>
-#include <mbgl/util/run_loop.hpp>
+#include <mbgl/actor/scheduler.hpp>
#include <mbgl/renderer/backend_scope.hpp>
#include <array>
@@ -41,7 +41,7 @@ void ThreadLocal<T>::set(T* ptr) {
impl->local.localData()[0] = ptr;
}
-template class ThreadLocal<RunLoop>;
+template class ThreadLocal<Scheduler>;
template class ThreadLocal<BackendScope>;
template class ThreadLocal<int>; // For unit tests