From 8905269239bc13f35a1c21bd773c1e9755a979d2 Mon Sep 17 00:00:00 2001 From: Kiryl Kaveryn Date: Mon, 17 Feb 2025 15:40:44 +0400 Subject: [PATCH] [android] fix compile warnings Signed-off-by: Kiryl Kaveryn --- .../app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp b/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp index b4fd15e70f..7c4dc611b9 100644 --- a/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp +++ b/android/app/src/main/cpp/app/organicmaps/UserMarkHelper.cpp @@ -165,12 +165,13 @@ jobject CreateElevationInfo(JNIEnv * env, ElevationInfo const & info) "[Lapp/organicmaps/bookmarks/data/ElevationInfo$Point;" "IIIIIJ)V"); jni::TScopedLocalObjectArrayRef jPoints(env, ToElevationPointArray(env, info.GetPoints())); + // TODO (KK): elevation info should have only the elevation data - see the https://github.com/organicmaps/organicmaps/pull/10063 return env->NewObject(g_elevationInfoClazz, ctorId, jPoints.get(), - static_cast(info.GetAscent()), - static_cast(info.GetDescent()), - static_cast(info.GetMinAltitude()), - static_cast(info.GetMaxAltitude()), +// static_cast(info.GetAscent()), +// static_cast(info.GetDescent()), +// static_cast(info.GetMinAltitude()), +// static_cast(info.GetMaxAltitude()), static_cast(info.GetDifficulty())); }