diff options
-rw-r--r-- | src/mbgl/style/paint_property.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/paint_property.hpp b/src/mbgl/style/paint_property.hpp index 7cb75781a3..67aa2244ec 100644 --- a/src/mbgl/style/paint_property.hpp +++ b/src/mbgl/style/paint_property.hpp @@ -36,7 +36,7 @@ public: } void set(const PropertyValue<T>& value_) { - values.emplace(ClassID::Default, value_); + values[ClassID::Default] = value_; } void parse(const char* name, const JSValue& layer) { |