From 24b66bc8cdd40a52e08d198c063daa3e1f6be92a Mon Sep 17 00:00:00 2001 From: Young Hahn Date: Wed, 15 Jun 2016 11:38:22 -0400 Subject: Color class (#5361) * Color class * Switch to list initialization --- include/mbgl/annotation/annotation.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mbgl/annotation') diff --git a/include/mbgl/annotation/annotation.hpp b/include/mbgl/annotation/annotation.hpp index 6cb26e6a82..fc0595af0f 100644 --- a/include/mbgl/annotation/annotation.hpp +++ b/include/mbgl/annotation/annotation.hpp @@ -30,15 +30,15 @@ public: ShapeAnnotationGeometry geometry; float opacity = 1; float width = 1; - Color color = {{ 0, 0, 0, 1 }}; + Color color = { 0, 0, 0, 1 }; }; class FillAnnotation { public: ShapeAnnotationGeometry geometry; float opacity = 1; - Color color = {{ 0, 0, 0, 1 }}; - Color outlineColor = {{ 0, 0, 0, -1 }}; + Color color = { 0, 0, 0, 1 }; + Color outlineColor = { 0, 0, 0, -1 }; }; // An annotation whose type and properties are sourced from a style layer. -- cgit v1.2.1