mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
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]].
This commit is contained in:
parent
2aa0885220
commit
f3d8f80e9c
Notes:
sideshowbarker
2024-07-17 23:09:13 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/f3d8f80e9cc Pull-request: https://github.com/SerenityOS/serenity/pull/11151
1 changed files with 1 additions and 1 deletions
|
@ -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@>(");
|
||||
|
|
Loading…
Add table
Reference in a new issue