summaryrefslogtreecommitdiff
path: root/src/mbgl/style/property_parsing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/property_parsing.cpp')
-rw-r--r--src/mbgl/style/property_parsing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/property_parsing.cpp b/src/mbgl/style/property_parsing.cpp
index 9985cc7f39..f5e0cca993 100644
--- a/src/mbgl/style/property_parsing.cpp
+++ b/src/mbgl/style/property_parsing.cpp
@@ -49,10 +49,10 @@ optional<Color> parseConstant(const char* name, const JSValue& value) {
// Premultiply the color.
const float factor = css_color.a / 255;
- return Color{{(float)css_color.r * factor,
+ return Color{ (float)css_color.r * factor,
(float)css_color.g * factor,
(float)css_color.b * factor,
- css_color.a}};
+ css_color.a };
}
template <>