summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator/main.cpp
diff options
context:
space:
mode:
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;