diff options
author | Young Hahn <young@mapbox.com> | 2016-06-15 11:38:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 11:38:22 -0400 |
commit | 24b66bc8cdd40a52e08d198c063daa3e1f6be92a (patch) | |
tree | 6d98a5e1216a83f7d6d4c78422c8306d4a4cb157 /test/style/style_layer.cpp | |
parent | fe64238b4cd5a7da403a4f29a62b14234ecba569 (diff) | |
download | qtlocation-mapboxgl-24b66bc8cdd40a52e08d198c063daa3e1f6be92a.tar.gz |
Color class (#5361)
* Color class
* Switch to list initialization
Diffstat (limited to 'test/style/style_layer.cpp')
-rw-r--r-- | test/style/style_layer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/style/style_layer.cpp b/test/style/style_layer.cpp index 8af7a07d30..3274131966 100644 --- a/test/style/style_layer.cpp +++ b/test/style/style_layer.cpp @@ -13,6 +13,7 @@ #include <mbgl/style/layers/raster_layer_impl.hpp> #include <mbgl/style/layers/symbol_layer.hpp> #include <mbgl/style/layers/symbol_layer_impl.hpp> +#include <mbgl/util/color.hpp> using namespace mbgl; using namespace mbgl::style; @@ -28,7 +29,7 @@ template <class T, class... Params> void testClone(Params... params) { EXPECT_EQ("test", layer->baseImpl->clone()->getID()); } -const auto color = PropertyValue<Color> {{{ 1, 0, 0, 1 }}}; +const auto color = PropertyValue<Color> {{ 1, 0, 0, 1 }}; const auto opacity = PropertyValue<float> { 1.0f }; const auto radius = PropertyValue<float> { 1.0f }; const auto blur = PropertyValue<float> { 1.0f }; |