diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-01-22 05:09:11 +0100 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-29 19:16:44 -0700 |
commit | 8464da143987e290fa3d9ad739b491e6adbffee6 (patch) | |
tree | 58905a6ac790d1e2368b9132403b190271617c4b /Userland/DevTools/UserspaceEmulator/Emulator.cpp | |
parent | 5f2ea31816612dead5bc7ac59d27da0bc4b45736 (diff) | |
download | serenity-8464da143987e290fa3d9ad739b491e6adbffee6.zip |
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.
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/Emulator.cpp')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/Emulator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.cpp b/Userland/DevTools/UserspaceEmulator/Emulator.cpp index a094621550..2034d456b2 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator.cpp +++ b/Userland/DevTools/UserspaceEmulator/Emulator.cpp @@ -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 {}; |