diff options
Diffstat (limited to 'include/mbgl/style/types.hpp')
-rw-r--r-- | include/mbgl/style/types.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp index adc13b386c..c3e8470886 100644 --- a/include/mbgl/style/types.hpp +++ b/include/mbgl/style/types.hpp @@ -14,6 +14,9 @@ typedef std::array<float, 4> Color; template <typename T> struct Faded { + Faded() = default; + Faded(const T& v) : to(v) {} + T from; float fromScale; T to; |