summaryrefslogtreecommitdiff
path: root/platform/android/src/style/sources/source.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-09-09 18:35:23 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-09-10 11:51:17 +0300
commit151ea331f87a8d3655b0b1a36f3e74de4ff708b9 (patch)
tree90056e643ae93b59f7fe434cc52db62581a037c1 /platform/android/src/style/sources/source.cpp
parent5207a360746d7d0541e21ca4e8d22b432f41d8f5 (diff)
downloadqtlocation-mapboxgl-151ea331f87a8d3655b0b1a36f3e74de4ff708b9.tar.gz
[core] Use mapbox::base::TypeWrapper instead of utils::peer
Diffstat (limited to 'platform/android/src/style/sources/source.cpp')
-rw-r--r--platform/android/src/style/sources/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/style/sources/source.cpp b/platform/android/src/style/sources/source.cpp
index be4c0367fc..786e5cb586 100644
--- a/platform/android/src/style/sources/source.cpp
+++ b/platform/android/src/style/sources/source.cpp
@@ -133,7 +133,7 @@ namespace android {
// Release the peer relationships. These will be re-established when the source is added to a map
assert(ownedSource->peer.has_value());
ownedSource->peer.get<std::unique_ptr<Source>>().release();
- ownedSource->peer = util::peer();
+ ownedSource->peer = mapbox::base::TypeWrapper();
// Release the strong reference to the java peer
assert(javaPeer);