@@ -133,7 +133,7 @@ static auto print_sys_exec_ctx_remove(
133
133
ecsact::codegen_plugin_context& ctx,
134
134
const ecsact::rt_entt_codegen::ecsact_entt_system_details& details,
135
135
capability_t sys_caps,
136
- const std::string& view_name
136
+ const std::string& view_type_name
137
137
) -> void {
138
138
using ecsact::cc_lang_support::cpp_identifier;
139
139
using ecsact::cpp_codegen_plugin_util::block;
@@ -179,15 +179,15 @@ static auto print_sys_exec_ctx_remove(
179
179
ctx.write (std::format (
180
180
" using remove_fn_t = void (*)(ecsact_system_execution_context*, "
181
181
" ecsact_component_like_id, {}_t&);\n " ,
182
- view_name
182
+ view_type_name
183
183
));
184
184
185
185
ctx.write (" static const auto remove_fns = []()\n " );
186
186
187
187
block (ctx, " " , [&] {
188
188
ctx.write (
189
189
" auto result = std::unordered_map<ecsact_component_like_id, "
190
- " get_fn_t >{};\n "
190
+ " remove_fn_t >{};\n "
191
191
);
192
192
for (const auto comp_id : details.removable_comps ) {
193
193
auto type_name = cpp_identifier (decl_full_name (comp_id));
@@ -208,7 +208,7 @@ static auto print_sys_exec_ctx_remove(
208
208
static auto print_sys_exec_ctx_get (
209
209
ecsact::codegen_plugin_context& ctx,
210
210
const ecsact::rt_entt_codegen::ecsact_entt_system_details& details,
211
- const std::string& view_name
211
+ const std::string& view_type_name
212
212
) -> void {
213
213
using ecsact::cc_lang_support::cpp_identifier;
214
214
using ecsact::cpp_codegen_plugin_util::block;
@@ -262,7 +262,7 @@ static auto print_sys_exec_ctx_get(
262
262
ctx.write (std::format (
263
263
" using get_fn_t = void (*)(ecsact_system_execution_context*, "
264
264
" ecsact_component_like_id, void *, {}_t&);\n " ,
265
- view_name
265
+ view_type_name
266
266
));
267
267
268
268
ctx.write (" static const auto get_fns = []()\n " );
@@ -295,7 +295,7 @@ static auto print_sys_exec_ctx_get(
295
295
static auto print_sys_exec_ctx_update (
296
296
ecsact::codegen_plugin_context& ctx,
297
297
const ecsact::rt_entt_codegen::ecsact_entt_system_details& details,
298
- const std::string& view_name
298
+ const std::string& view_type_name
299
299
) -> void {
300
300
using ecsact::cc_lang_support::cpp_identifier;
301
301
using ecsact::cpp_codegen_plugin_util::block;
@@ -329,7 +329,7 @@ static auto print_sys_exec_ctx_update(
329
329
ctx.write (std::format (
330
330
" using update_fn_t = void (*)(ecsact_system_execution_context*, "
331
331
" ecsact_component_like_id, const void *, {}_t&);\n " ,
332
- view_name
332
+ view_type_name
333
333
));
334
334
335
335
ctx.write (" static const auto update_fns = []()\n " );
0 commit comments