summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-03-20 19:46:52 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-03-23 11:02:21 +0100
commitd2faca1861e0cca4e08224969280778e2e3e71a2 (patch)
tree47461e39c65dcbb1047654c92e1973a2857b9ef8 /include
parent3d2dcbb6efe38bad93edaaae2d2def2274d4942b (diff)
downloadqtlocation-mapboxgl-d2faca1861e0cca4e08224969280778e2e3e71a2.tar.gz
move style classes to MapData object and make thread safe
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index d18df67a08..e5eabdac4d 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -82,6 +82,7 @@ public:
StyleInfo = 1 << 0,
Debug = 1 << 1,
DefaultTransitionDuration = 1 << 2,
+ Classes = 1 << 3,
};
void triggerUpdate(Update = Update::Nothing);
@@ -251,8 +252,6 @@ private:
const std::unique_ptr<MapData> data;
- std::vector<std::string> classes;
-
std::set<util::ptr<StyleSource>> activeSources;
std::atomic<UpdateType> updated;