diff --git a/include/oneapi/tbb/flow_graph.h b/include/oneapi/tbb/flow_graph.h index 5b438faabf..42bbf88bfb 100644 --- a/include/oneapi/tbb/flow_graph.h +++ b/include/oneapi/tbb/flow_graph.h @@ -85,7 +85,7 @@ class continue_msg {}; } // namespace d2 #if __TBB_CPP20_CONCEPTS_PRESENT -namespace d0 { +inline namespace d0 { template concept node_body_return_type = std::same_as || @@ -127,7 +127,7 @@ template concept async_node_body = std::copy_constructible && std::invocable; -} // namespace d0 +} // inline namespace d0 #endif // __TBB_CPP20_CONCEPTS_PRESENT namespace d2 {