diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-28 09:59:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-28 23:14:18 +0100 |
commit | 8d76eb773f25b1e51ef923734cd355692f014ce5 (patch) | |
tree | 127e4bfdcaa0edb9af963e3663675daaa8661c24 /Meta | |
parent | 982ac34437f10f9613484d589dfec90e6395bcc8 (diff) | |
download | serenity-8d76eb773f25b1e51ef923734cd355692f014ce5.zip |
LibIPC: Make IPC::Connection::post_message() return ErrorOr
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp index 1d5e04e555..1fe1d35776 100644 --- a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp @@ -553,7 +553,8 @@ public: auto result = m_connection.template send_sync_but_allow_failure<Messages::@endpoint.name@::@message.pascal_name@>()~~~"); } else { message_generator.append(R"~~~( - m_connection.post_message(Messages::@endpoint.name@::@message.pascal_name@ { )~~~"); + // FIXME: Handle post_message failures. + (void) m_connection.post_message(Messages::@endpoint.name@::@message.pascal_name@ { )~~~"); } for (size_t i = 0; i < parameters.size(); ++i) { |