summaryrefslogtreecommitdiff
path: root/platform/android/src/style/conversion/property_value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/conversion/property_value.hpp')
-rw-r--r--platform/android/src/style/conversion/property_value.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/android/src/style/conversion/property_value.hpp b/platform/android/src/style/conversion/property_value.hpp
index a58cf975a7..5498faaf0a 100644
--- a/platform/android/src/style/conversion/property_value.hpp
+++ b/platform/android/src/style/conversion/property_value.hpp
@@ -38,7 +38,11 @@ public:
}
jni::jobject* operator()(const mbgl::style::CompositeFunction<T> &value) const {
- return *convert<jni::jobject*, mbgl::style::CompositeFunction<T>>(env, value);
+ return *convert<jni::jobject*, mbgl::style::CompositeFunction<T>>(env, value);
+ }
+
+ jni::jobject*operator()(const mbgl::style::expression::Expression &value) const {
+ return *convert<jni::jobject*, mbgl::style::expression::Expression>(env, value);
}
private: