From ffdeef3a26306e447f1cc52a8e14d42fb035611d Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Mon, 5 Nov 2018 19:49:40 +0200 Subject: Refer corresponding LayerFactory instance from the Layer::Impl --- src/mbgl/style/layers/custom_layer_impl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mbgl/style/layers/custom_layer_impl.cpp') diff --git a/src/mbgl/style/layers/custom_layer_impl.cpp b/src/mbgl/style/layers/custom_layer_impl.cpp index 05c41623c4..ce8d5263dd 100644 --- a/src/mbgl/style/layers/custom_layer_impl.cpp +++ b/src/mbgl/style/layers/custom_layer_impl.cpp @@ -16,5 +16,9 @@ bool CustomLayer::Impl::hasLayoutDifference(const Layer::Impl&) const { void CustomLayer::Impl::stringifyLayout(rapidjson::Writer&) const { } +LayerFactory* CustomLayer::Impl::getLayerFactory() const { + return CustomLayerFactory::get(); +} + } // namespace style } // namespace mbgl -- cgit v1.2.1