summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-03-13 15:03:33 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-03-18 12:51:33 +0100
commitb5facd35bc766e32e00ebfccc8ea0721f243373a (patch)
tree32a341ecca9483daaf2fee983cd114fcbfff0b39 /include
parentb52aab5f7c6625b219a68cc7a956cf895d158139 (diff)
downloadqtlocation-mapboxgl-b5facd35bc766e32e00ebfccc8ea0721f243373a.tar.gz
Scope the Map thread to an Environment
Also, replace manual thread type checks with Environment::currentlyOn().
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index b03217570b..86c89f769d 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -217,9 +217,6 @@ private:
// Stores whether the map thread has been stopped already.
std::atomic_bool isStopped;
- const std::thread::id mainThread;
- std::thread::id mapThread;
-
Transform transform;
TransformState state;