summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/sources/source.hpp')
-rw-r--r--platform/android/src/style/sources/source.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/style/sources/source.hpp b/platform/android/src/style/sources/source.hpp
index 93b706425a..a010aa8f55 100644
--- a/platform/android/src/style/sources/source.hpp
+++ b/platform/android/src/style/sources/source.hpp
@@ -48,7 +48,7 @@ protected:
std::unique_ptr<mbgl::style::Source> ownedSource;
// Raw pointer that is valid at all times.
- mbgl::style::Source& source;
+ mbgl::style::Source* source;
// Set when the source is added to a map.
jni::Global<jni::Object<Source>> javaPeer;