mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 12:50:06 +00:00 
			
		
		
		
	Fix to prevent accessing empty level 3 product records
This commit is contained in:
		
							parent
							
								
									1c159a3926
								
							
						
					
					
						commit
						4e8b5ac452
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1013,7 +1013,7 @@ RadarProductManagerImpl::GetLevel3ProductRecord( | ||||||
| 
 | 
 | ||||||
|    auto it = level3ProductRecordsMap_.find(product); |    auto it = level3ProductRecordsMap_.find(product); | ||||||
| 
 | 
 | ||||||
|    if (it != level3ProductRecordsMap_.cend()) |    if (it != level3ProductRecordsMap_.cend() && !it->second.empty()) | ||||||
|    { |    { | ||||||
|       if (time == std::chrono::system_clock::time_point {}) |       if (time == std::chrono::system_clock::time_point {}) | ||||||
|       { |       { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat