summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-02 12:10:28 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commitf3d8f80e9cca9b18362e8a727cf2bdedeb1fe0f8 (patch)
treee3bbad580741c2f178d72a267179d4160116ebf7 /Meta/Lagom/Tools
parent2aa0885220235c422ef7cd7a04517d102ad53370 (diff)
downloadserenity-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')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp2
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@>(");