File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ inline bool cancelGroupExecution()
2828 // @note 12000 was the 2021.1-beta05 release. The 2021.1-beta08 release
2929 // introduced current_context().
3030#if TBB_INTERFACE_VERSION >= 12002
31- auto ctx = tbb::task::current_context ();
32- return ctx ? ctx->cancel_group_execution () : false ;
31+ auto ctx = tbb::task::current_context ();
32+ return ctx ? ctx->cancel_group_execution () : false ;
3333#else
3434 return tbb::task::self ().cancel_group_execution ();
3535#endif
@@ -40,8 +40,8 @@ inline bool isGroupExecutionCancelled()
4040 // @note 12000 was the 2021.1-beta05 release. The 2021.1-beta08 release
4141 // introduced current_context().
4242#if TBB_INTERFACE_VERSION >= 12002
43- auto ctx = tbb::task::current_context ();
44- return ctx ? ctx->is_group_execution_cancelled () : false ;
43+ auto ctx = tbb::task::current_context ();
44+ return ctx ? ctx->is_group_execution_cancelled () : false ;
4545#else
4646 return tbb::task::self ().is_cancelled ();
4747#endif
You can’t perform that action at this time.
0 commit comments