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.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/src/style/conversion/property_value.hpp b/platform/android/src/style/conversion/property_value.hpp
index a58cf975a7..5f6a1266d4 100644
--- a/platform/android/src/style/conversion/property_value.hpp
+++ b/platform/android/src/style/conversion/property_value.hpp
@@ -6,6 +6,7 @@
#include "../../conversion/constant.hpp"
#include "types.hpp"
#include "function.hpp"
+#include "json.hpp"
namespace mbgl {
namespace android {
@@ -34,6 +35,7 @@ public:
}
jni::jobject* operator()(const mbgl::style::SourceFunction<T> &value) const {
+ Result<jni::jobject*> result = convert<jni::jobject*>(env, value.getExpression().serialize());
return *convert<jni::jobject*, mbgl::style::SourceFunction<T>>(env, value);
}