tbb/tbb-2020-task-namespace.patch
2023-01-16 18:39:08 -08:00

26 lines
739 B
Diff

From 04d68b41f55804bdaa7ce5f76b0fa4637f1cdadb Mon Sep 17 00:00:00 2001
From: Thomas W Rodgers <rodgert@twrodgers.com>
Date: Mon, 16 Jan 2023 17:20:37 -0800
Subject: [PATCH] Fix FTBS with newer GCC
---
include/tbb/task.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/tbb/task.h b/include/tbb/task.h
index 5e137c6..3d167c5 100644
--- a/include/tbb/task.h
+++ b/include/tbb/task.h
@@ -249,7 +249,7 @@ namespace internal {
#if __TBB_TASK_PRIORITY
//! Pointer to the next offloaded lower priority task.
/** Used to maintain a list of offloaded tasks inside the scheduler. **/
- task* next_offloaded;
+ tbb::task* next_offloaded;
#endif
#if __TBB_PREVIEW_RESUMABLE_TASKS
--
2.39.0