summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Tarasov <igor.tarasov@mapbox.com>2019-09-17 09:14:24 +0300
committerIgor Tarasov <igor.tarasov@mapbox.com>2019-09-17 09:14:24 +0300
commit08830a7defd414509bb3b094e1e3a21272dfb112 (patch)
treefef4b9467c38df889a6b2b5b0a42fc8ee8a46fd8
parentf4f7283515690ed0a24828745b6a407fa67929a0 (diff)
downloadqtlocation-mapboxgl-08830a7defd414509bb3b094e1e3a21272dfb112.tar.gz
[android] Fix - initialize pointer.
-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 6217b909f3..5bab79bca4 100644
--- a/platform/android/src/style/sources/source.hpp
+++ b/platform/android/src/style/sources/source.hpp
@@ -72,7 +72,7 @@ protected:
private:
// Set on newly created sources until added to the map.
- std::unique_ptr<mbgl::style::Source> ownedSource_;
+ std::unique_ptr<mbgl::style::Source> ownedSource_ { nullptr };
mapbox::base::WeakPtr<mbgl::style::Source> coreSource_;
};