Explorar o código

ChessEngine: Remove unused 'rpath' promise

bugreport0 %!s(int64=3) %!d(string=hai) anos
pai
achega
1d6ed50dd0
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      Userland/Services/ChessEngine/main.cpp

+ 1 - 2
Userland/Services/ChessEngine/main.cpp

@@ -12,9 +12,8 @@
 
 
 ErrorOr<int> serenity_main(Main::Arguments)
 ErrorOr<int> serenity_main(Main::Arguments)
 {
 {
-    TRY(Core::System::pledge("stdio recvfd sendfd unix rpath"));
-    Core::EventLoop loop;
     TRY(Core::System::pledge("stdio recvfd sendfd unix"));
     TRY(Core::System::pledge("stdio recvfd sendfd unix"));
+    Core::EventLoop loop;
     TRY(Core::System::unveil(nullptr, nullptr));
     TRY(Core::System::unveil(nullptr, nullptr));
 
 
     auto engine = TRY(ChessEngine::try_create(Core::File::standard_input(), Core::File::standard_output()));
     auto engine = TRY(ChessEngine::try_create(Core::File::standard_input(), Core::File::standard_output()));