mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:12:43 +00:00 
			
		
		
		
	AK: Remove StringBuilder::build() in favor of to_deprecated_string()
Having an alias function that only wraps another one is silly, and keeping the more obvious name should flush out more uses of deprecated strings. No behavior change.
This commit is contained in:
		
							parent
							
								
									da81041e97
								
							
						
					
					
						commit
						6e7459322d
					
				
					 129 changed files with 213 additions and 219 deletions
				
			
		|  | @ -150,7 +150,7 @@ static ErrorOr<void> parse_all_locales(DeprecatedString dates_path, CLDR& cldr) | |||
|         if (auto region = cldr.unique_strings.get(parsed_locale.region); !region.is_empty()) | ||||
|             builder.appendff("-{}", region); | ||||
| 
 | ||||
|         return builder.build(); | ||||
|         return builder.to_deprecated_string(); | ||||
|     }; | ||||
| 
 | ||||
|     while (dates_iterator.has_next()) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh