summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/style/light.hpp1
-rw-r--r--include/mbgl/style/light.hpp.ejs1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/style/light.hpp b/include/mbgl/style/light.hpp
index 7434fb2882..dc54f98075 100644
--- a/include/mbgl/style/light.hpp
+++ b/include/mbgl/style/light.hpp
@@ -51,6 +51,7 @@ public:
class Impl;
Immutable<Impl> impl;
+ explicit Light(Immutable<Impl>);
Mutable<Impl> mutableImpl() const;
LightObserver* observer = nullptr;
diff --git a/include/mbgl/style/light.hpp.ejs b/include/mbgl/style/light.hpp.ejs
index e4661dc59b..071647965d 100644
--- a/include/mbgl/style/light.hpp.ejs
+++ b/include/mbgl/style/light.hpp.ejs
@@ -38,6 +38,7 @@ public:
<% } -%>
class Impl;
Immutable<Impl> impl;
+ explicit Light(Immutable<Impl>);
Mutable<Impl> mutableImpl() const;
LightObserver* observer = nullptr;