summaryrefslogtreecommitdiff
path: root/src/mbgl/layermanager/custom_layer_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/layermanager/custom_layer_factory.cpp')
-rw-r--r--src/mbgl/layermanager/custom_layer_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layermanager/custom_layer_factory.cpp b/src/mbgl/layermanager/custom_layer_factory.cpp
index 31b1730fc9..f84f261e79 100644
--- a/src/mbgl/layermanager/custom_layer_factory.cpp
+++ b/src/mbgl/layermanager/custom_layer_factory.cpp
@@ -16,7 +16,7 @@ std::unique_ptr<style::Layer> CustomLayerFactory::createLayer(const std::string&
}
std::unique_ptr<RenderLayer> CustomLayerFactory::createRenderLayer(Immutable<style::Layer::Impl> impl) noexcept {
- return std::make_unique<RenderCustomLayer>(staticImmutableCast<style::CustomLayer::Impl>(std::move(impl)));
+ return std::make_unique<RenderCustomLayer>(staticImmutableCast<style::CustomLayer::Impl>(impl));
}
} // namespace mbgl