mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 13:10: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
	
	 Dan Paulat
						Dan Paulat