diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-08 21:08:01 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | d43a7eae545cd699f301471bd0f82399174339c1 (patch) | |
tree | c0a55f768f845041c3aebed3f126d462155a799f /Userland/Utilities/ini.cpp | |
parent | 14951b92ca6160664ccb68c5e1b2d40133763e5f (diff) | |
download | serenity-d43a7eae545cd699f301471bd0f82399174339c1.zip |
LibCore: Rename `File` to `DeprecatedFile`
As usual, this removes many unused includes and moves used includes
further down the chain.
Diffstat (limited to 'Userland/Utilities/ini.cpp')
-rw-r--r-- | Userland/Utilities/ini.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/ini.cpp b/Userland/Utilities/ini.cpp index da82d076a6..19e92bb76b 100644 --- a/Userland/Utilities/ini.cpp +++ b/Userland/Utilities/ini.cpp @@ -6,7 +6,7 @@ #include <LibCore/ArgsParser.h> #include <LibCore/ConfigFile.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/System.h> #include <LibMain/Main.h> @@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) args_parser.add_positional_argument(value_to_write, "Value to write", "value", Core::ArgsParser::Required::No); args_parser.parse(arguments); - if (!Core::File::exists(path)) { + if (!Core::DeprecatedFile::exists(path)) { warnln("File does not exist: '{}'", path); return 1; } |