mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Prefix all size_t with std::
done automatically by executing regex replace `([^:0-9a-zA-Z_])size_t([^0-9a-zA-Z_])` -> `$1std::size_t$2`
This commit is contained in:
		
							parent
							
								
									eca98eeb3e
								
							
						
					
					
						commit
						7d8f115185
					
				
					 158 changed files with 669 additions and 634 deletions
				
			
		|  | @ -364,7 +364,7 @@ MacAddress Room::RoomImpl::GenerateMacAddress() { | |||
|         NintendoOUI; // The first three bytes of each MAC address will be the NintendoOUI
 | ||||
|     std::uniform_int_distribution<> dis(0x00, 0xFF); // Random byte between 0 and 0xFF
 | ||||
|     do { | ||||
|         for (size_t i = 3; i < result_mac.size(); ++i) { | ||||
|         for (std::size_t i = 3; i < result_mac.size(); ++i) { | ||||
|             result_mac[i] = dis(random_gen); | ||||
|         } | ||||
|     } while (!IsValidMacAddress(result_mac)); | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ constexpr u32 MaxMessageSize = 500; | |||
| /// Maximum number of concurrent connections allowed to this room.
 | ||||
| static constexpr u32 MaxConcurrentConnections = 254; | ||||
| 
 | ||||
| constexpr size_t NumChannels = 1; // Number of channels used for the connection
 | ||||
| constexpr std::size_t NumChannels = 1; // Number of channels used for the connection
 | ||||
| 
 | ||||
| struct RoomInformation { | ||||
|     std::string name;           ///< Name of the server
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue