1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

RequestServer: Replace Result<T, E> use with ErrorOr<T>

This commit is contained in:
Andreas Kling 2021-11-07 11:39:36 +01:00
parent fbbb87d517
commit 01a6a4f7c4
2 changed files with 3 additions and 4 deletions

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/RefPtr.h>
#include <AK/Result.h>
#include <AK/URL.h>
#include <RequestServer/Forward.h>
@ -28,7 +27,7 @@ protected:
int read_fd { -1 };
int write_fd { -1 };
};
static Result<Pipe, String> get_pipe_for_request();
static ErrorOr<Pipe> get_pipe_for_request();
private:
String m_name;