summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator/main.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-08 21:08:01 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commitd43a7eae545cd699f301471bd0f82399174339c1 (patch)
treec0a55f768f845041c3aebed3f126d462155a799f /Userland/DevTools/UserspaceEmulator/main.cpp
parent14951b92ca6160664ccb68c5e1b2d40133763e5f (diff)
downloadserenity-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/DevTools/UserspaceEmulator/main.cpp')
-rw-r--r--Userland/DevTools/UserspaceEmulator/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/main.cpp b/Userland/DevTools/UserspaceEmulator/main.cpp
index 336cc192e0..eda37b6d7e 100644
--- a/Userland/DevTools/UserspaceEmulator/main.cpp
+++ b/Userland/DevTools/UserspaceEmulator/main.cpp
@@ -10,7 +10,6 @@
#include <AK/StringBuilder.h>
#include <LibCore/ArgsParser.h>
#include <LibCore/DirIterator.h>
-#include <LibCore/File.h>
#include <LibCore/Process.h>
#include <fcntl.h>
#include <pthread.h>
@@ -46,9 +45,9 @@ int main(int argc, char** argv, char** env)
DeprecatedString executable_path;
if (arguments[0].contains("/"sv))
- executable_path = Core::File::real_path_for(arguments[0]);
+ executable_path = Core::DeprecatedFile::real_path_for(arguments[0]);
else
- executable_path = Core::File::resolve_executable_from_environment(arguments[0]).value_or({});
+ executable_path = Core::DeprecatedFile::resolve_executable_from_environment(arguments[0]).value_or({});
if (executable_path.is_empty()) {
reportln("Cannot find executable for '{}'."sv, arguments[0]);
return 1;