summaryrefslogtreecommitdiff
path: root/include/mbgl/style/types.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-25 09:51:47 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-25 09:51:47 -0700
commitc4089b60bc630ee78c6755ebd7702943a30dd07d (patch)
tree662db1271ba46939efc6395b97fb609f828876a2 /include/mbgl/style/types.hpp
parent42043599ffca9658d47792a85c136cb2384e35ed (diff)
downloadqtlocation-mapboxgl-c4089b60bc630ee78c6755ebd7702943a30dd07d.tar.gz
[core] Extract Function::evaluation to a separate class (#4811)
This allows the Function<Faded<T>> partial specialization to be eliminated, giving all property functions a consistent storage type.
Diffstat (limited to 'include/mbgl/style/types.hpp')
-rw-r--r--include/mbgl/style/types.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp
index ca56d39991..939dbc3a6d 100644
--- a/include/mbgl/style/types.hpp
+++ b/include/mbgl/style/types.hpp
@@ -21,18 +21,6 @@ struct FontStackHash {
std::size_t operator()(const FontStack&) const;
};
-template <typename T>
-struct Faded {
- Faded() = default;
- Faded(const T& v) : to(v) {}
-
- T from;
- float fromScale = 0;
- T to;
- float toScale = 0;
- float t = 0;
-};
-
// -------------------------------------------------------------------------------------------------
enum class SourceType : uint8_t {