diff options
Diffstat (limited to 'include/mbgl/style/color_ramp_property_value.hpp')
-rw-r--r-- | include/mbgl/style/color_ramp_property_value.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/color_ramp_property_value.hpp b/include/mbgl/style/color_ramp_property_value.hpp index bc5639c899..1b9385f85f 100644 --- a/include/mbgl/style/color_ramp_property_value.hpp +++ b/include/mbgl/style/color_ramp_property_value.hpp @@ -27,7 +27,7 @@ public: ColorRampPropertyValue() : value(nullptr) {} ColorRampPropertyValue(std::shared_ptr<expression::Expression> value_) : value(std::move(value_)) {} - bool isUndefined() const { return value.get() == nullptr; } + bool isUndefined() const { return value == nullptr; } // noop, needed for batch evaluation of paint property values to compile template <typename Evaluator> |