From 6d7435d25186f2c20eff1b4a4f14c415c753f651 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 14 Sep 2022 17:32:53 +0100 Subject: test-fuzz: Port to Core::Stream --- Userland/Utilities/test-fuzz.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Userland/Utilities') diff --git a/Userland/Utilities/test-fuzz.cpp b/Userland/Utilities/test-fuzz.cpp index 8a4f96e722..47bdfe338f 100644 --- a/Userland/Utilities/test-fuzz.cpp +++ b/Userland/Utilities/test-fuzz.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include @@ -151,8 +151,8 @@ ErrorOr serenity_main(Main::Arguments arguments) auto fn = parse_target_name(type); - auto file = TRY(Core::File::open(filename, Core::OpenMode::ReadOnly)); - auto input = file->read_all(); + auto file = TRY(Core::Stream::File::open(filename, Core::Stream::OpenMode::Read)); + auto input = TRY(file->read_all()); return fn(input.data(), input.size()); } -- cgit v1.2.3