mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 21:30:05 +00:00 
			
		
		
		
	Clang tidy/format fixes for fix_stable_vector_memory_leak
This commit is contained in:
		
							parent
							
								
									61ac1e5612
								
							
						
					
					
						commit
						3ef794a25e
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1193,7 +1193,7 @@ void MapWidgetImpl::AddLayers() | |||
|    std::string before = styleLayers_.front().toStdString(); | ||||
| 
 | ||||
|    // Loop through each custom layer in reverse order
 | ||||
|    for (const auto & customLayer : std::ranges::reverse_view(customLayers)) | ||||
|    for (const auto& customLayer : std::ranges::reverse_view(customLayers)) | ||||
|    { | ||||
|       if (customLayer.type_ == types::LayerType::Map) | ||||
|       { | ||||
|  | @ -1214,6 +1214,8 @@ void MapWidgetImpl::AddLayers() | |||
|             break; | ||||
|          } | ||||
|       } | ||||
|       // id_ is always < 4, so this is safe
 | ||||
|       // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-constant-array-index)
 | ||||
|       else if (customLayer.displayed_[id_]) | ||||
|       { | ||||
|          // If the layer is displayed for the current map, add it
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak