summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-03-21 15:08:54 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-03-28 13:53:19 +0200
commitf436913550562d6ec4409b6e2cde17208875e8ab (patch)
tree4763baa96c68dd53ef99d41c4510b62ff0d31982 /platform
parent028360b68f3be900b502c885d23bf1b504e613a1 (diff)
downloadqtlocation-mapboxgl-f436913550562d6ec4409b6e2cde17208875e8ab.tar.gz
[android] Remove public usage of private util/thread.hpp header
Diffstat (limited to 'platform')
-rw-r--r--platform/android/src/run_loop.cpp1
-rw-r--r--platform/android/src/run_loop_impl.hpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/src/run_loop.cpp b/platform/android/src/run_loop.cpp
index 170b05c23c..49d28f2ebb 100644
--- a/platform/android/src/run_loop.cpp
+++ b/platform/android/src/run_loop.cpp
@@ -1,6 +1,7 @@
#include "run_loop_impl.hpp"
#include <mbgl/util/platform.hpp>
+#include <mbgl/util/thread.hpp>
#include <mbgl/util/thread_context.hpp>
#include <mbgl/util/thread_local.hpp>
#include <mbgl/util/timer.hpp>
diff --git a/platform/android/src/run_loop_impl.hpp b/platform/android/src/run_loop_impl.hpp
index a3efa92a83..15cbfa14ae 100644
--- a/platform/android/src/run_loop_impl.hpp
+++ b/platform/android/src/run_loop_impl.hpp
@@ -4,7 +4,6 @@
#include <mbgl/util/chrono.hpp>
#include <mbgl/util/run_loop.hpp>
-#include <mbgl/util/thread.hpp>
#include <atomic>
#include <list>
@@ -16,6 +15,7 @@ struct ALooper;
namespace mbgl {
namespace util {
+template <typename T> class Thread;
class Alarm;
class RunLoop::Impl {