diff --git a/src/vt/runnable/runnable.h b/src/vt/runnable/runnable.h index 2bfe5425a1..161d598e69 100644 --- a/src/vt/runnable/runnable.h +++ b/src/vt/runnable/runnable.h @@ -239,6 +239,7 @@ struct RunnableNew { std::invoke(std::forward(c), std::forward(args)...); auto finish_time = timing::getCurrentTime(); finish(finish_time); + return; } else { decltype(auto) r{std::invoke(std::forward(c), std::forward(args)...)}; auto finish_time = timing::getCurrentTime();