#include #include namespace mbgl { namespace style { CustomLayer::CustomLayer(const std::string& layerID, CustomLayerInitializeFunction init, CustomLayerRenderFunction render, CustomLayerDeinitializeFunction deinit, void* context) : Layer(Type::Custom, std::make_unique(layerID, init, render, deinit, context)) , impl(static_cast(baseImpl.get())) { } CustomLayer::CustomLayer(const Impl& other) : Layer(Type::Custom, std::make_unique(other)) , impl(static_cast(baseImpl.get())) { } CustomLayer::~CustomLayer() = default; } // namespace style } // namespace mbgl