mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibWebView: Fix ProcessAndClient template deduction
This resolves compiler errors in HelperProcess.cpp when instantiating Process::spawn() with various client types like WebContentClient and RequestClient.
This commit is contained in:
parent
c97af00355
commit
157dbbad83
Notes:
github-actions[bot]
2024-10-28 02:58:52 +00:00
Author: https://github.com/MikeBooon 🔰
Commit: 157dbbad83
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1995
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ ErrorOr<Process::ProcessAndClient<ClientType>> Process::spawn(ProcessType type,
|
|||
auto [core_process, transport] = TRY(spawn_and_connect_to_process(options));
|
||||
auto client = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) ClientType { move(transport), forward<ClientArguments>(client_arguments)... }));
|
||||
|
||||
return ProcessAndClient { Process { type, client, move(core_process) }, client };
|
||||
return ProcessAndClient<ClientType> { Process { type, client, move(core_process) }, client };
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue