diff --git a/src/mbgl/style/paint_property.hpp b/src/mbgl/style/paint_property.hpp index 7cb75781a..67aa2244e 100644 --- a/src/mbgl/style/paint_property.hpp +++ b/src/mbgl/style/paint_property.hpp @@ -36,7 +36,7 @@ public: } void set(const PropertyValue& value_) { - values.emplace(ClassID::Default, value_); + values[ClassID::Default] = value_; } void parse(const char* name, const JSValue& layer) {