summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r--src/mbgl/style/source_impl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp
index ea2135c3c1..54af93c04f 100644
--- a/src/mbgl/style/source_impl.hpp
+++ b/src/mbgl/style/source_impl.hpp
@@ -87,6 +87,9 @@ public:
// be initialized to true so that Style::isLoaded() does not produce false positives if
// called before Style::recalculate().
bool enabled = true;
+
+ // Detaches from the style
+ void detach();
protected:
void invalidateTiles();