diff options
Diffstat (limited to 'src/mbgl/map/map_data.hpp')
-rw-r--r-- | src/mbgl/map/map_data.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mbgl/map/map_data.hpp b/src/mbgl/map/map_data.hpp index 67c66896e3..da905f4a89 100644 --- a/src/mbgl/map/map_data.hpp +++ b/src/mbgl/map/map_data.hpp @@ -3,7 +3,6 @@ #include <mbgl/util/chrono.hpp> -#include <string> #include <mutex> #include <atomic> #include <vector> @@ -32,23 +31,6 @@ public: assert(pixelRatio > 0); } - // Adds the class if it's not yet set. Returns true when it added the class, and false when it - // was already present. - bool addClass(const std::string& klass); - - // Removes the class if it's present. Returns true when it remvoed the class, and false when it - // was not present. - bool removeClass(const std::string& klass); - - // Returns true when class is present in the list of currently set classes. - bool hasClass(const std::string& klass) const; - - // Changes the list of currently set classes to the new list. - void setClasses(const std::vector<std::string>& klasses); - - // Returns a list of all currently set classes. - std::vector<std::string> getClasses() const; - inline MapDebugOptions getDebug() const { return debugOptions; @@ -135,9 +117,6 @@ private: mutable std::mutex annotationManagerMutex; AnnotationManager annotationManager; - mutable std::mutex mtx; - - std::vector<std::string> classes; std::atomic<MapDebugOptions> debugOptions { MapDebugOptions::NoDebug }; std::atomic<Duration> animationTime; std::atomic<Duration> defaultFadeDuration; |