diff --git a/.gitignore b/.gitignore index ae041a3..a087dc2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ build*/ doxygen_html/ compile_commands.json tags +.clangd/ diff --git a/src/EC/Manager.hpp b/src/EC/Manager.hpp index 4b5e4e4..cb4a612 100644 --- a/src/EC/Manager.hpp +++ b/src/EC/Manager.hpp @@ -564,7 +564,7 @@ namespace EC The second parameter is default nullptr and will be passed to the function call as the second parameter as a means of providing context (useful when the function is not a lambda function). The - third parameter is default 1 (not multi-threaded). If the third + third parameter is default 1 (not multi-threaded). If the third parameter threadCount is set to a value greater than 1, then threadCount threads will be used. Note that multi-threading is based on splitting the task of calling the function across sections @@ -865,7 +865,7 @@ namespace EC std::make_tuple( signatureBitset, context, - [function, helper, this] + [function, helper, this] (std::size_t threadCount, std::vector matching, void* context) @@ -1367,7 +1367,7 @@ namespace EC threads[i].join(); } } - + // call functions on matching entities EC::Meta::forEachDoubleTuple( EC::Meta::Morph >{}, @@ -1563,7 +1563,7 @@ namespace EC threads[i].join(); } } - + // call functions on matching entities EC::Meta::forEachDoubleTuple( EC::Meta::Morph >{},