mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:20:06 +00:00 
			
		
		
		
	General linter cleanup
This commit is contained in:
		
							parent
							
								
									e6cfef06a7
								
							
						
					
					
						commit
						8da440ea1f
					
				
					 3 changed files with 17 additions and 7 deletions
				
			
		|  | @ -144,13 +144,16 @@ IemWarningsProvider::LoadTextProducts( | |||
| 
 | ||||
|    std::vector<std::pair<std::string_view, cpr::AsyncResponse>> | ||||
|       asyncResponses {}; | ||||
|    asyncResponses.reserve(textProducts.size()); | ||||
|     | ||||
|    const std::string endpointUrl = kBaseUrl_ + kNwsTextProductEndpoint_; | ||||
| 
 | ||||
|    for (auto& productId : textProducts) | ||||
|    { | ||||
|       asyncResponses.emplace_back( | ||||
|          productId, | ||||
|          cpr::GetAsync( | ||||
|             cpr::Url {kBaseUrl_ + kNwsTextProductEndpoint_ + productId}, | ||||
|             cpr::Url {endpointUrl + productId}, | ||||
|             network::cpr::GetHeader(), | ||||
|             parameters)); | ||||
|    } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat