diff options
Diffstat (limited to 'src/mbgl/renderer/render_light.cpp')
-rw-r--r-- | src/mbgl/renderer/render_light.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mbgl/renderer/render_light.cpp b/src/mbgl/renderer/render_light.cpp index 134e1829e0..1fc346fd26 100644 --- a/src/mbgl/renderer/render_light.cpp +++ b/src/mbgl/renderer/render_light.cpp @@ -2,17 +2,8 @@ namespace mbgl { -RenderLight::RenderLight(std::shared_ptr<const style::Light::Impl> impl_) - : impl(std::move(impl_)) { -} - -RenderLight::RenderLight(std::shared_ptr<const style::Light::Impl> impl_, const TransitioningLight transitioning_) - : impl(std::move(impl_)) - , transitioning(transitioning_) { -} - -std::unique_ptr<RenderLight> RenderLight::copy(std::shared_ptr<const style::Light::Impl> impl_) const { - return std::make_unique<RenderLight>(std::move(impl_), transitioning); +RenderLight::RenderLight(Immutable<style::Light::Impl> impl_) + : impl(std::move(impl_)) { } void RenderLight::transition(const CascadeParameters& parameters) { |