diff options
Diffstat (limited to 'include/mbgl/style/function/composite_categorical_stops.hpp')
-rw-r--r-- | include/mbgl/style/function/composite_categorical_stops.hpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/mbgl/style/function/composite_categorical_stops.hpp b/include/mbgl/style/function/composite_categorical_stops.hpp deleted file mode 100644 index b796621d1a..0000000000 --- a/include/mbgl/style/function/composite_categorical_stops.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -#include <mbgl/style/function/categorical_stops.hpp> - -namespace mbgl { -namespace style { - -template <class T> -class CompositeCategoricalStops { -public: - using Stops = std::map<float, std::map<CategoricalValue, T>>; - Stops stops; - - CompositeCategoricalStops() = default; - CompositeCategoricalStops(Stops stops_) - : stops(std::move(stops_)) { - } - - CategoricalStops<T> innerStops(const std::map<CategoricalValue, T>& stops_) const { - return CategoricalStops<T>(stops_); - } - - friend bool operator==(const CompositeCategoricalStops& lhs, - const CompositeCategoricalStops& rhs) { - return lhs.stops == rhs.stops; - } -}; - -} // namespace style -} // namespace mbgl |