summaryrefslogtreecommitdiff
path: root/platform/android/src/geometry/lat_lng_bounds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/geometry/lat_lng_bounds.hpp')
-rw-r--r--platform/android/src/geometry/lat_lng_bounds.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/src/geometry/lat_lng_bounds.hpp b/platform/android/src/geometry/lat_lng_bounds.hpp
index 751e0babda..d51026711d 100644
--- a/platform/android/src/geometry/lat_lng_bounds.hpp
+++ b/platform/android/src/geometry/lat_lng_bounds.hpp
@@ -14,9 +14,9 @@ public:
static constexpr auto Name() { return "com/mapbox/mapboxsdk/geometry/LatLngBounds"; };
- static jni::Object<LatLngBounds> New(jni::JNIEnv&, mbgl::LatLngBounds);
+ static jni::Local<jni::Object<LatLngBounds>> New(jni::JNIEnv&, mbgl::LatLngBounds);
- static mbgl::LatLngBounds getLatLngBounds(jni::JNIEnv&, jni::Object<LatLngBounds>);
+ static mbgl::LatLngBounds getLatLngBounds(jni::JNIEnv&, const jni::Object<LatLngBounds>&);
static void registerNative(jni::JNIEnv&);
};