summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-03-01 10:44:29 +0100
committerTobrun <tobrun@mapbox.com>2018-03-01 11:46:04 +0100
commit72393707d34fd7c4c0fa81b66b40805f29411aed (patch)
tree7c2c53f904860732252aee1a3fafcca9ffab58fd /platform/android
parent6e4846044531128b8984f351d367a7185325565d (diff)
downloadqtlocation-mapboxgl-72393707d34fd7c4c0fa81b66b40805f29411aed.tar.gz
[android] - fix custom layer example
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/src/example_custom_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/example_custom_layer.cpp b/platform/android/src/example_custom_layer.cpp
index 46fcd96ffa..be8e830412 100644
--- a/platform/android/src/example_custom_layer.cpp
+++ b/platform/android/src/example_custom_layer.cpp
@@ -249,7 +249,7 @@ extern "C" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
env->SetStaticLongField(customLayerClass,
env->GetStaticFieldID(customLayerClass, "DeinitializeFunction", "J"),
- reinterpret_cast<jlong>(nativeDenitialize));
+ reinterpret_cast<jlong>(nativeDeinitialize));
return JNI_VERSION_1_6;
}