mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibIPC: Replace Result<T, E> use with ErrorOr<T>
This commit is contained in:
parent
0b0c4e82b9
commit
2c70c479ab
3 changed files with 18 additions and 19 deletions
|
@ -30,7 +30,10 @@ public:
|
|||
, m_client_id(client_id)
|
||||
{
|
||||
VERIFY(this->socket().is_connected());
|
||||
this->socket().on_ready_to_read = [this] { this->drain_messages_from_peer(); };
|
||||
this->socket().on_ready_to_read = [this] {
|
||||
// FIXME: Do something about errors.
|
||||
(void)this->drain_messages_from_peer();
|
||||
};
|
||||
}
|
||||
|
||||
virtual ~ClientConnection() override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue