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
				
			
		|  | @ -500,7 +500,7 @@ void Emulator::dump_backtrace() | |||
|     dump_backtrace(raw_backtrace()); | ||||
| } | ||||
| 
 | ||||
| void Emulator::emit_profile_sample(Core::Stream::Stream& output) | ||||
| void Emulator::emit_profile_sample(AK::Stream& output) | ||||
| { | ||||
|     if (!is_in_region_of_interest()) | ||||
|         return; | ||||
|  | @ -513,7 +513,7 @@ void Emulator::emit_profile_sample(Core::Stream::Stream& output) | |||
|     output.write_entire_buffer(builder.string_view().bytes()).release_value_but_fixme_should_propagate_errors(); | ||||
| } | ||||
| 
 | ||||
| void Emulator::emit_profile_event(Core::Stream::Stream& output, StringView event_name, DeprecatedString const& contents) | ||||
| void Emulator::emit_profile_event(AK::Stream& output, StringView event_name, DeprecatedString const& contents) | ||||
| { | ||||
|     StringBuilder builder; | ||||
|     timeval tv {}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher