Skip to content

Commit

Permalink
Update namespace qualifiers
Browse files Browse the repository at this point in the history
Signed-off-by: pavelkumbrasev <[email protected]>
  • Loading branch information
pavelkumbrasev committed Apr 16, 2024
1 parent f6771e4 commit c984265
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/oneapi/tbb/task_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -602,14 +602,14 @@ class task_group : public task_group_base {

#if TBB_PREVIEW_ISOLATED_TASK_GROUP
class spawn_delegate : public d1::delegate_base {
task* task_to_spawn;
task_group_context& context;
d1::task* task_to_spawn;
d1::task_group_context& context;
bool operator()() const override {
spawn(*task_to_spawn, context);
return true;
}
public:
spawn_delegate(task* a_task, task_group_context& ctx)
spawn_delegate(d1::task* a_task, d1::task_group_context& ctx)
: task_to_spawn(a_task), context(ctx)
{}
};
Expand Down Expand Up @@ -646,7 +646,7 @@ class isolated_task_group : public task_group {
public:
isolated_task_group() : task_group() {}

isolated_task_group(task_group_context& ctx) : task_group(ctx) {}
isolated_task_group(d1::task_group_context& ctx) : task_group(ctx) {}

template<typename F>
void run(F&& f) {
Expand Down

0 comments on commit c984265

Please sign in to comment.