summaryrefslogtreecommitdiff
path: root/platform/default
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-07-25 15:46:16 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-08-09 12:08:21 +0300
commitedaa002c3c23e84db8ca07c521118da37ba5bb38 (patch)
treecfde2f22898febaa06618cd3fb7aac0a8a675bc1 /platform/default
parentd88567ee0997b0430db3ac7cf6deb20a0615098e (diff)
downloadqtlocation-mapboxgl-edaa002c3c23e84db8ca07c521118da37ba5bb38.tar.gz
[core] current scheduler
- Adds a way to set the current scheduler on the thread to be used whenever a mailbox is created that needs to reply on this thread
Diffstat (limited to 'platform/default')
-rw-r--r--platform/default/thread_local.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/thread_local.cpp b/platform/default/thread_local.cpp
index 7abbaa0146..db70773c12 100644
--- a/platform/default/thread_local.cpp
+++ b/platform/default/thread_local.cpp
@@ -58,8 +58,8 @@ void ThreadLocal<T>::set(T* ptr) {
}
}
-template class ThreadLocal<RunLoop>;
template class ThreadLocal<BackendScope>;
+template class ThreadLocal<Scheduler>;
template class ThreadLocal<int>; // For unit tests
} // namespace util