diff options
Diffstat (limited to 'platform/android/src/style/sources/raster_source.cpp')
-rw-r--r-- | platform/android/src/style/sources/raster_source.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/src/style/sources/raster_source.cpp b/platform/android/src/style/sources/raster_source.cpp index 535f899c99..d643b8ac71 100644 --- a/platform/android/src/style/sources/raster_source.cpp +++ b/platform/android/src/style/sources/raster_source.cpp @@ -23,7 +23,7 @@ namespace android { } RasterSource::RasterSource(jni::JNIEnv& env, - mbgl::style::Source& coreSource, + mbgl::style::Source* coreSource, AndroidRendererFrontend& frontend) : Source(env, coreSource, createJavaPeer(env), frontend) { } @@ -31,7 +31,7 @@ namespace android { RasterSource::~RasterSource() = default; jni::Local<jni::String> RasterSource::getURL(jni::JNIEnv& env) { - optional<std::string> url = source.as<mbgl::style::RasterSource>()->RasterSource::getURL(); + optional<std::string> url = source->as<mbgl::style::RasterSource>()->RasterSource::getURL(); return url ? jni::Make<jni::String>(env, *url) : jni::Local<jni::String>(); } |