diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-12-02 12:10:28 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-05 15:31:03 +0100 |
commit | f3d8f80e9cca9b18362e8a727cf2bdedeb1fe0f8 (patch) | |
tree | e3bbad580741c2f178d72a267179d4160116ebf7 /Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | |
parent | 2aa0885220235c422ef7cd7a04517d102ad53370 (diff) | |
download | serenity-f3d8f80e9cca9b18362e8a727cf2bdedeb1fe0f8.zip |
IPCCompiler: Cast return value of synchronous void IPC calls to void
The synchronous call returns a NonnullOwnPtr that we don't use, so we
have to cast to prevent a compiler warning once smart pointers become
[[nodiscard]].
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp index 315c6254f7..0abc3bc693 100644 --- a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp @@ -544,7 +544,7 @@ public: message_generator.append("move(*"); } else { message_generator.append(R"~~~( - )~~~"); + (void) )~~~"); } message_generator.append("m_connection.template send_sync<Messages::@endpoint.name@::@message.pascal_name@>("); |