mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	AK: Move Stream and SeekableStream from LibCore
				
					
				
			`Stream` will be qualified as `AK::Stream` until we remove the `Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is defined by `SeekableStream`, since defining its own would require us to qualify it with `AK::SeekMode` everywhere.
This commit is contained in:
		
							parent
							
								
									5f2ea31816
								
							
						
					
					
						commit
						8464da1439
					
				
					 96 changed files with 620 additions and 586 deletions
				
			
		|  | @ -450,7 +450,7 @@ static ErrorOr<void> parse_name_aliases(Core::Stream::BufferedFile& file, Unicod | |||
| 
 | ||||
| static ErrorOr<void> parse_value_alias_list(Core::Stream::BufferedFile& file, StringView desired_category, Vector<DeprecatedString> const& value_list, Vector<Alias>& prop_aliases, bool primary_value_is_first = true, bool sanitize_alias = false) | ||||
| { | ||||
|     TRY(file.seek(0, Core::Stream::SeekMode::SetPosition)); | ||||
|     TRY(file.seek(0, SeekMode::SetPosition)); | ||||
|     Array<u8, 1024> buffer; | ||||
| 
 | ||||
|     auto append_alias = [&](auto alias, auto value) { | ||||
|  | @ -646,7 +646,7 @@ static ErrorOr<void> parse_block_display_names(Core::Stream::BufferedFile& file, | |||
|         unicode_data.block_display_names.append({ code_point_range, index }); | ||||
|     } | ||||
| 
 | ||||
|     TRY(file.seek(0, Core::Stream::SeekMode::SetPosition)); | ||||
|     TRY(file.seek(0, SeekMode::SetPosition)); | ||||
| 
 | ||||
|     return {}; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher