Skip to content

Commit

Permalink
#2027: Runnable: Set set_handler to true in withExplicitTask
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Dec 13, 2022
1 parent 3ac0077 commit 43354de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vt/runnable/make_runnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ struct RunnableMaker {
* \param[in] task_ the task to execute
*/
RunnableMaker&& withExplicitTask(ActionType task_) {
// Set this to 'true' as we're not going through normal handler
set_handler_ = true;
impl_->setExplicitTask(task_);
return std::move(*this);
}
Expand Down

0 comments on commit 43354de

Please sign in to comment.