diff options
Diffstat (limited to 'Userland/Utilities/xml.cpp')
-rw-r--r-- | Userland/Utilities/xml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/xml.cpp b/Userland/Utilities/xml.cpp index 6ccd0b9f6d..7be705dd6a 100644 --- a/Userland/Utilities/xml.cpp +++ b/Userland/Utilities/xml.cpp @@ -9,7 +9,7 @@ #include <AK/URL.h> #include <AK/URLParser.h> #include <LibCore/ArgsParser.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibCore/Stream.h> #include <LibMain/Main.h> #include <LibXML/DOM/Document.h> @@ -515,7 +515,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) parser.add_positional_argument(filename, "File to read from", "file"); parser.parse(arguments); - s_path = Core::File::real_path_for(filename); + s_path = Core::DeprecatedFile::real_path_for(filename); auto file = TRY(Core::Stream::File::open(s_path, Core::Stream::OpenMode::Read)); auto contents = TRY(file->read_until_eof()); |