summaryrefslogtreecommitdiff
path: root/Ladybird/main.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-09 03:02:46 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commit606a3982f34d777f121fcc4aa964141199676c20 (patch)
tree836fef41d11f1b77f4dac7d699e5c9f720ee4ff1 /Ladybird/main.cpp
parenta96339b72b3b417ffaa4fbb4e7575149f749acaa (diff)
downloadserenity-606a3982f34d777f121fcc4aa964141199676c20.zip
LibCore: Move Stream-based file into the `Core` namespace
Diffstat (limited to 'Ladybird/main.cpp')
-rw-r--r--Ladybird/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ladybird/main.cpp b/Ladybird/main.cpp
index f29490a050..497a7b4929 100644
--- a/Ladybird/main.cpp
+++ b/Ladybird/main.cpp
@@ -31,8 +31,8 @@ static ErrorOr<void> handle_attached_debugger()
// incorrectly forwards the signal to us even when it's set to
// "nopass". See https://sourceware.org/bugzilla/show_bug.cgi?id=9425
// for details.
- auto unbuffered_status_file = TRY(Core::Stream::File::open("/proc/self/status"sv, Core::Stream::OpenMode::Read));
- auto status_file = TRY(Core::Stream::BufferedFile::create(move(unbuffered_status_file)));
+ auto unbuffered_status_file = TRY(Core::File::open("/proc/self/status"sv, Core::File::OpenMode::Read));
+ auto status_file = TRY(Core::BufferedFile::create(move(unbuffered_status_file)));
auto buffer = TRY(ByteBuffer::create_uninitialized(4096));
while (TRY(status_file->can_read_line())) {
auto line = TRY(status_file->read_line(buffer));