From 9637176711f2f72e5bfa06561050c4737da6953c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 20 Mar 2015 19:22:27 +0100 Subject: move defaultTransitionDuration to MapData --- include/mbgl/map/map.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 7473a0694a..e77149a4d7 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -78,9 +78,10 @@ public: // Notifies the Map thread that the state has changed and an update might be necessary. using UpdateType = uint32_t; enum class Update : UpdateType { - Nothing = 0, - StyleInfo = 1 << 0, - Debug = 1 << 1, + Nothing = 0, + StyleInfo = 1 << 0, + Debug = 1 << 1, + DefaultTransitionDuration = 1 << 2, }; void triggerUpdate(Update = Update::Nothing); @@ -253,8 +254,6 @@ private: std::vector classes; std::string accessToken; - std::chrono::steady_clock::duration defaultTransitionDuration; - std::set> activeSources; std::atomic updated; -- cgit v1.2.1