diff --git a/meson.build b/meson.build index 48e3007..d27a1a9 100644 --- a/meson.build +++ b/meson.build @@ -58,6 +58,11 @@ if betterC_opt endif endif +if comp_id == 'gcc' + args+='-pthread' + link_args+='-pthread' +endif + add_global_arguments(args, language : 'd') add_global_link_arguments(link_args, language : 'd') diff --git a/source/bubel/ecs/manager.d b/source/bubel/ecs/manager.d index ee7b9be..d33f0ff 100644 --- a/source/bubel/ecs/manager.d +++ b/source/bubel/ecs/manager.d @@ -3233,15 +3233,8 @@ export struct EntityManager { export void update() nothrow @nogc { - //(cast(SytemFuncType) system.m_update)(this); if(!system.m_empty) { - // Sys* s = cast(Sys*) system.m_system_pointer; - - //Sys.EntitiesData input_data; - // EntityInfo* info = info; //block.type_info; - // System* system = system; - EntitiesBlock* block; if (first_block) block = first_block;