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