utils: ipc: Fix async main interface functions with no parameters
If an async main interface function is defined with no parameters, there would be a compilation error complaining about an extra comma. Fix this. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
9dc601cf7a
commit
1c5830a9a4
1 changed files with 2 additions and 2 deletions
|
@ -175,9 +175,9 @@ void {{proxy_name}}::recvMessage(const IPCMessage &data)
|
|||
);
|
||||
{% elif method|is_async %}
|
||||
ASSERT(state_ == ProxyRunning);
|
||||
proxy_.invokeMethod(&ThreadProxy::{{method.mojom_name}}, ConnectionTypeQueued,
|
||||
proxy_.invokeMethod(&ThreadProxy::{{method.mojom_name}}, ConnectionTypeQueued
|
||||
{%- for param in method|method_param_names -%}
|
||||
{{param}}{{- ", " if not loop.last}}
|
||||
, {{param}}
|
||||
{%- endfor -%}
|
||||
);
|
||||
{%- endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue