mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:42:44 +00:00 
			
		
		
		
	LibLocale: Avoid unnecessary HashMap copy
This commit is contained in:
		
							parent
							
								
									362773d4a6
								
							
						
					
					
						commit
						3cc98a32cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -577,7 +577,7 @@ static constexpr Array<PluralCategory, @size@> @name@ { { PluralCategory::Other) | |||
|         generator.append("} };"); | ||||
|     }; | ||||
| 
 | ||||
|     for (auto [locale, rules] : cldr.locales) { | ||||
|     for (auto const& [locale, rules] : cldr.locales) { | ||||
|         append_rules("cardinal"sv, locale, rules.cardinal_rules); | ||||
|         append_rules("ordinal"sv, locale, rules.ordinal_rules); | ||||
|         append_ranges(locale, rules.plural_ranges); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ben Wiederhake
						Ben Wiederhake