mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 07:30:04 +00:00
Remove unused context parameter in RadarSiteLayer
This commit is contained in:
parent
f85c45e70a
commit
6ab2bfb1a1
1 changed files with 2 additions and 5 deletions
|
|
@ -22,10 +22,7 @@ static const auto logger_ = scwx::util::Logger::Create(logPrefix_);
|
|||
class RadarSiteLayer::Impl
|
||||
{
|
||||
public:
|
||||
explicit Impl(RadarSiteLayer* self, std::shared_ptr<MapContext> context) :
|
||||
self_ {self}
|
||||
{
|
||||
}
|
||||
explicit Impl(RadarSiteLayer* self) : self_ {self} {}
|
||||
~Impl() = default;
|
||||
|
||||
void RenderRadarSite(const QMapLibreGL::CustomLayerRenderParameters& params,
|
||||
|
|
@ -46,7 +43,7 @@ public:
|
|||
};
|
||||
|
||||
RadarSiteLayer::RadarSiteLayer(std::shared_ptr<MapContext> context) :
|
||||
DrawLayer(context), p(std::make_unique<Impl>(this, context))
|
||||
DrawLayer(context), p(std::make_unique<Impl>(this))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue