diff options
author | Igor Tarasov <igor.tarasov@mapbox.com> | 2019-09-17 09:14:24 +0300 |
---|---|---|
committer | Igor Tarasov <igor.tarasov@mapbox.com> | 2019-09-17 09:14:24 +0300 |
commit | 08830a7defd414509bb3b094e1e3a21272dfb112 (patch) | |
tree | fef4b9467c38df889a6b2b5b0a42fc8ee8a46fd8 | |
parent | f4f7283515690ed0a24828745b6a407fa67929a0 (diff) | |
download | qtlocation-mapboxgl-08830a7defd414509bb3b094e1e3a21272dfb112.tar.gz |
[android] Fix - initialize pointer.
-rw-r--r-- | platform/android/src/style/sources/source.hpp | 2 |
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_; }; |