mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
IPCCompiler: Allow arguments to not be default-constructible
All fields are always initialized, so we don't need to initialize them by default. This lets us send types over IPC that can't be default-constructed, such as a Variant without Empty.
This commit is contained in:
parent
b3b7e76c10
commit
71cb04d8cb
Notes:
github-actions[bot]
2025-02-17 16:38:37 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/71cb04d8cbf Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3601 Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ private:)~~~");
|
|||
parameter_generator.set("parameter.type", parameter.type);
|
||||
parameter_generator.set("parameter.name", parameter.name);
|
||||
parameter_generator.appendln(R"~~~(
|
||||
@parameter.type@ m_@parameter.name@ {};)~~~");
|
||||
@parameter.type@ m_@parameter.name@;)~~~");
|
||||
}
|
||||
|
||||
message_generator.appendln("\n};");
|
||||
|
|
Loading…
Add table
Reference in a new issue