#include #include namespace mbgl { 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 mbgl