Skip to content

Commit

Permalink
Fix inline namespace in Flow Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
kboyarinov committed Jan 21, 2025
1 parent f09d42f commit 360df76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/tbb/flow_graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class continue_msg {};
} // namespace d2

#if __TBB_CPP20_CONCEPTS_PRESENT
namespace d0 {
inline namespace d0 {

template <typename ReturnType, typename OutputType>
concept node_body_return_type = std::same_as<OutputType, tbb::detail::d2::continue_msg> ||
Expand Down Expand Up @@ -127,7 +127,7 @@ template <typename Body, typename Input, typename GatewayType>
concept async_node_body = std::copy_constructible<Body> &&
std::invocable<Body&, const Input&, GatewayType&>;

} // namespace d0
} // inline namespace d0
#endif // __TBB_CPP20_CONCEPTS_PRESENT

namespace d2 {
Expand Down

0 comments on commit 360df76

Please sign in to comment.