Skip to content

Commit

Permalink
Add comment for release in wait_vertex
Browse files Browse the repository at this point in the history
Signed-off-by: pavelkumbrasev <[email protected]>
  • Loading branch information
pavelkumbrasev committed Apr 15, 2024
1 parent 2bce523 commit c3ea187
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/oneapi/tbb/detail/_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ class wait_context_vertex : public wait_tree_vertex_interface {
return m_wait.continue_execution();
}

void release(std::uint32_t delta, const d1::execution_data&) override { release(delta); }
void release(std::uint32_t, const d1::execution_data&) override {
__TBB_ASSERT(false,
"This method is overloaded only to fulfill the base class interface requirements, and thus, it should not be called.");
}

wait_context m_wait;
};
Expand Down

0 comments on commit c3ea187

Please sign in to comment.