diff options
Diffstat (limited to 'platform/android/src/style/conversion/property_expression.hpp')
-rw-r--r-- | platform/android/src/style/conversion/property_expression.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/platform/android/src/style/conversion/property_expression.hpp b/platform/android/src/style/conversion/property_expression.hpp deleted file mode 100644 index 4e26b11f96..0000000000 --- a/platform/android/src/style/conversion/property_expression.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "../../conversion/conversion.hpp" -#include "../../gson/json_element.hpp" - -#include <mbgl/style/property_expression.hpp> - -#include <jni/jni.hpp> - -namespace mbgl { -namespace android { -namespace conversion { - -template <class T> -struct Converter<jni::Local<jni::Object<android::gson::JsonElement>>, mbgl::style::PropertyExpression<T>> { - Result<jni::Local<jni::Object<android::gson::JsonElement>>> operator()(jni::JNIEnv& env, const mbgl::style::PropertyExpression<T>& value) const { - return gson::JsonElement::New(env, value.getExpression().serialize()); - } -}; - -} // namespace conversion -} // namespace android -} // namespace mbgl |