summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/eolian_mono/eolian/mono/events.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/events.hh b/src/bin/eolian_mono/eolian/mono/events.hh
index b5e6e4a7f1..350dd57ad4 100644
--- a/src/bin/eolian_mono/eolian/mono/events.hh
+++ b/src/bin/eolian_mono/eolian/mono/events.hh
@@ -337,7 +337,7 @@ struct event_definition_generator
337 337
338 auto sub_context = change_indentation(indent.inc().inc(), context); 338 auto sub_context = change_indentation(indent.inc().inc(), context);
339 339
340 if (!as_generator(scope_tab(6) << wrapper_args_type << " args = new " << wrapper_args_type << "();\n" 340 if (!as_generator(wrapper_args_type << " args = new " << wrapper_args_type << "();\n"
341 << scope_tab(6) << "args.arg = ").generate(arg_initializer_sink, attributes::unused, context)) 341 << scope_tab(6) << "args.arg = ").generate(arg_initializer_sink, attributes::unused, context))
342 return false; 342 return false;
343 if (!(*etype).original_type.visit(unpack_event_args_visitor<decltype(arg_initializer_sink), decltype(sub_context)>{arg_initializer_sink, &sub_context, *etype})) 343 if (!(*etype).original_type.visit(unpack_event_args_visitor<decltype(arg_initializer_sink), decltype(sub_context)>{arg_initializer_sink, &sub_context, *etype}))