summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2020-01-06 14:40:20 +0100
committerTobrun <tobrun.van.nuland@gmail.com>2020-01-06 15:44:03 +0100
commitf54d47137bec169acd5621bdf529eecf725c6981 (patch)
treec01ff2a3cdfa4e3bb7baccd505eb31c409decedd
parent5e7e2d23e7a75a08d65ca670591594f4c7be2138 (diff)
downloadqtlocation-mapboxgl-f54d47137bec169acd5621bdf529eecf725c6981.tar.gz
[android] promote releaseCoreLayer from protected to public
-rw-r--r--platform/android/src/style/layers/layer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/src/style/layers/layer.hpp b/platform/android/src/style/layers/layer.hpp
index bde351f708..5717852d0c 100644
--- a/platform/android/src/style/layers/layer.hpp
+++ b/platform/android/src/style/layers/layer.hpp
@@ -29,6 +29,9 @@ public:
void addToMap(mbgl::Map&, mbgl::optional<std::string>);
+ // Release the owned view and return it
+ std::unique_ptr<mbgl::style::Layer> releaseCoreLayer();
+
jni::Local<jni::String> getId(jni::JNIEnv&);
jni::Local<jni::String> getSourceId(jni::JNIEnv&);
@@ -77,9 +80,6 @@ protected:
*/
Layer(std::unique_ptr<mbgl::style::Layer>);
- // Release the owned view and return it
- std::unique_ptr<mbgl::style::Layer> releaseCoreLayer();
-
// Owned layer is set when creating a new layer, before adding it to the map
std::unique_ptr<mbgl::style::Layer> ownedLayer;