mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:30:04 +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
				
			
		|  | @ -142,9 +142,9 @@ Level2MessageInfo Level2MessageFactory::Create(std::istream&             is, | |||
| 
 | ||||
|                // Estimate remaining size
 | ||||
|                static const std::uint16_t kMinRemainingSegments_ = 100u; | ||||
|                std::uint16_t remainingSegments = std::max<std::uint16_t>( | ||||
|                const std::uint16_t remainingSegments = std::max<std::uint16_t>( | ||||
|                   totalSegments - segment + 1, kMinRemainingSegments_); | ||||
|                std::size_t remainingSize = remainingSegments * dataSize; | ||||
|                const std::size_t remainingSize = remainingSegments * dataSize; | ||||
| 
 | ||||
|                ctx->messageData_.resize(ctx->bufferedSize_ + remainingSize); | ||||
|             } | ||||
|  |  | |||
|  | @ -42,7 +42,7 @@ bool RdaPrfData::Parse(std::istream& is) | |||
|    bool        messageValid = true; | ||||
|    std::size_t bytesRead    = 0; | ||||
| 
 | ||||
|    std::streampos isBegin = is.tellg(); | ||||
|    const std::streampos isBegin = is.tellg(); | ||||
| 
 | ||||
|    is.read(reinterpret_cast<char*>(&p->numberOfWaveforms_), 2); // 1
 | ||||
|    is.seekg(2, std::ios_base::cur);                             // 2
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat