summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-03-20 18:53:44 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-03-23 11:01:02 +0100
commit03e400e00224e8012d4272ad9ebcba0bc11ed3f5 (patch)
tree9a633f874075da160f783e80df7ea011f8651ecf /include
parentebd2985f785e19f3d4976f2d803ac017b755d0d9 (diff)
downloadqtlocation-mapboxgl-03e400e00224e8012d4272ad9ebcba0bc11ed3f5.tar.gz
make the debug flag atomic and move to MapData
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 9ea5c72f6e..71e81d0771 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -80,6 +80,7 @@ public:
enum class Update : UpdateType {
Nothing = 0,
StyleInfo = 1 << 0,
+ Debug = 1 << 1,
};
void triggerUpdate(Update = Update::Nothing);
@@ -254,7 +255,6 @@ private:
std::chrono::steady_clock::duration defaultTransitionDuration;
- bool debug = false;
std::chrono::steady_clock::time_point animationTime = std::chrono::steady_clock::time_point::min();
std::set<util::ptr<StyleSource>> activeSources;