mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
aconv: Remove usage of ancient Core::DeprecatedFile
That'll teach me for merging without waiting for CI :^)
This commit is contained in:
parent
0d65e5f518
commit
56da2c5db6
2 changed files with 4 additions and 4 deletions
|
@ -9,8 +9,8 @@
|
|||
#include <LibAudio/Loader.h>
|
||||
#include <LibAudio/WavWriter.h>
|
||||
#include <LibCore/ArgsParser.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/System.h>
|
||||
#include <LibFileSystem/FileSystem.h>
|
||||
#include <LibMain/Main.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -80,9 +80,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return Error::from_string_view("Output format must be specified manually when writing to standard output"sv);
|
||||
|
||||
if (input != "-"sv)
|
||||
TRY(Core::System::unveil(Core::DeprecatedFile::absolute_path(input), "r"sv));
|
||||
TRY(Core::System::unveil(TRY(FileSystem::absolute_path(input)), "r"sv));
|
||||
if (output != "-"sv)
|
||||
TRY(Core::System::unveil(Core::DeprecatedFile::absolute_path(output), "rwc"sv));
|
||||
TRY(Core::System::unveil(TRY(FileSystem::absolute_path(output)), "rwc"sv));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
RefPtr<Audio::Loader> input_loader;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue