Fix: Broken build with TBB disabled.
Lite builds without TBB and still needs the alternative codepath
This commit is contained in:
parent
461fee5328
commit
cc3d3a453e
|
@ -114,7 +114,11 @@ class Task {
|
|||
/* Execute task. */
|
||||
void operator()() const
|
||||
{
|
||||
#ifdef WITH_TBB
|
||||
tbb::this_task_arena::isolate([this] { run(pool, taskdata); });
|
||||
#else
|
||||
run(pool, taskdata);
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue