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

SpiceAgent: Use ErrorOr<T> for on_message_received

This commit is contained in:
Caoimhe 2023-05-12 18:27:24 +01:00 committed by Andreas Kling
parent 0d82cc8a67
commit 7e3fd73410
2 changed files with 21 additions and 14 deletions

View file

@ -119,7 +119,8 @@ private:
RefPtr<Core::Notifier> m_notifier;
ConnectionToClipboardServer& m_clipboard_connection;
void on_message_received();
ErrorOr<void> on_message_received();
void send_message(ByteBuffer const& buffer);
bool m_just_set_clip { false };
void read_n(void* dest, size_t n);