mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	AK: Remove custom %w format string specifier
This was a non-standard specifier alias for %04x. This patch replaces all uses of it with new-style formatting functions instead.
This commit is contained in:
		
							parent
							
								
									cb2c8f71f4
								
							
						
					
					
						commit
						ed5c26d698
					
				
					 7 changed files with 45 additions and 20 deletions
				
			
		|  | @ -87,7 +87,7 @@ struct ID { | |||
| }; | ||||
| inline const LogStream& operator<<(const LogStream& stream, const ID value) | ||||
| { | ||||
|     return stream << "(" << String::format("%w", value.vendor_id) << ":" << String::format("%w", value.device_id) << ")"; | ||||
|     return stream << String::formatted("({:04x}:{:04x})", value.vendor_id, value.device_id); | ||||
| } | ||||
| struct Address { | ||||
| public: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling