Cleanup code

This commit is contained in:
SirLynix
2024-02-02 17:31:12 +01:00
parent adc6a5c0a5
commit 06a42b4ecb
3 changed files with 11 additions and 9 deletions

View File

@@ -82,7 +82,7 @@ int main()
for (auto&& [offset, dims] : boxes)
{
taskScheduler.AddTask([&, offset, dims]
taskScheduler.AddTask([&, offset = offset, dims = dims]
{
thread_local std::size_t threadId = ++threadCounter;