mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:10:05 +00:00 
			
		
		
		
	Address RDA/RPG Build 23.0 clang-tidy comments
This commit is contained in:
		
							parent
							
								
									ade40806b6
								
							
						
					
					
						commit
						018052b78d
					
				
					 6 changed files with 8 additions and 8 deletions
				
			
		|  | @ -185,7 +185,7 @@ bool DigitalRasterDataArrayPacket::Parse(std::istream& is) | |||
|          } | ||||
| 
 | ||||
|          // Read raster bins
 | ||||
|          std::size_t dataSize = p->numberOfCells_; | ||||
|          const std::size_t dataSize = p->numberOfCells_; | ||||
|          row.level_.resize(dataSize); | ||||
|          is.read(reinterpret_cast<char*>(row.level_.data()), | ||||
|                  static_cast<std::streamsize>(dataSize)); | ||||
|  |  | |||
|  | @ -1073,11 +1073,11 @@ ProductDescriptionBlock::data_level_code(std::uint8_t level) const | |||
|    if (number_of_levels() <= 16 && level < 16 && | ||||
|        !uncodedDataLevelProducts_.contains(p->productCode_)) | ||||
|    { | ||||
|       std::uint16_t th = data_level_threshold(level); | ||||
|       const std::uint16_t th = data_level_threshold(level); | ||||
|       if ((th & 0x8000u)) | ||||
|       { | ||||
|          // If bit 0 is one, then the LSB is coded
 | ||||
|          std::uint16_t lsb = th & 0x00ffu; | ||||
|          const std::uint16_t lsb = th & 0x00ffu; | ||||
| 
 | ||||
|          switch (lsb) | ||||
|          { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat