summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-03-08 13:32:40 -0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-06 04:52:51 -0300
commit74a1d3c1641673409a7058869249cf260870b9c0 (patch)
tree6dbb8b085f5f73d7360ad01bfaaceb1f2500d0a6 /include
parent08d12f860e3eeac810cbb9355eb168fc8de38ce2 (diff)
downloadqtlocation-mapboxgl-74a1d3c1641673409a7058869249cf260870b9c0.tar.gz
[android] Introduce RunLoop based on Looper
Also implement a Timer and AsyncTask based on Android's Looper.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/run_loop.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/util/run_loop.hpp b/include/mbgl/util/run_loop.hpp
index 4e25caf554..d3a61d4186 100644
--- a/include/mbgl/util/run_loop.hpp
+++ b/include/mbgl/util/run_loop.hpp
@@ -107,6 +107,8 @@ public:
return std::make_unique<WorkRequest>(task);
}
+ class Impl;
+
private:
MBGL_STORE_THREAD(tid)
@@ -175,7 +177,6 @@ private:
Queue queue;
std::mutex mutex;
- class Impl;
std::unique_ptr<Impl> impl;
};