浏览代码

ChessEngine: Remove unused 'rpath' promise

bugreport0 3 年之前
父节点
当前提交
1d6ed50dd0
共有 1 个文件被更改,包括 1 次插入2 次删除
  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)
 {
-    TRY(Core::System::pledge("stdio recvfd sendfd unix rpath"));
-    Core::EventLoop loop;
     TRY(Core::System::pledge("stdio recvfd sendfd unix"));
+    Core::EventLoop loop;
     TRY(Core::System::unveil(nullptr, nullptr));
 
     auto engine = TRY(ChessEngine::try_create(Core::File::standard_input(), Core::File::standard_output()));