diff options
Diffstat (limited to 'include/mbgl/map/map.hpp')
-rw-r--r-- | include/mbgl/map/map.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 62bb39e8c2..aa9267755f 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -31,6 +31,7 @@ class Style; class Map : private util::noncopyable { public: + class Impl; explicit Map(RendererFrontend&, MapObserver&, const MapOptions&, @@ -127,11 +128,11 @@ public: void dumpDebugLogs() const; protected: - class Impl; const std::unique_ptr<Impl> impl; // For testing only. Map(std::unique_ptr<Impl>); + friend class Impl; }; } // namespace mbgl |