summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map_impl.cpp')
-rw-r--r--src/mbgl/map/map_impl.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mbgl/map/map_impl.cpp b/src/mbgl/map/map_impl.cpp
index 0edc715134..2d1ce3d386 100644
--- a/src/mbgl/map/map_impl.cpp
+++ b/src/mbgl/map/map_impl.cpp
@@ -30,7 +30,15 @@ Map::Impl::~Impl() {
// Explicitly reset the RendererFrontend first to ensure it releases
// All shared resources (AnnotationManager)
rendererFrontend.reset();
-};
+}
+
+Map::Impl *Map::Impl::get(Map& map) {
+ return map.impl.get();
+}
+
+const Map::Impl *Map::Impl::get(const Map& map) {
+ return map.impl.get();
+}
#pragma mark - Map::Impl StyleObserver