Skip to content

Commit

Permalink
#2091: add missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Mar 30, 2023
1 parent b61b88a commit 5606e86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vt/runnable/runnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ struct RunnableNew {
std::invoke(std::forward<Callable>(c), std::forward<Args>(args)...);
auto finish_time = timing::getCurrentTime();
finish(finish_time);
return;
} else {
decltype(auto) r{std::invoke(std::forward<Callable>(c), std::forward<Args>(args)...)};
auto finish_time = timing::getCurrentTime();
Expand Down

0 comments on commit 5606e86

Please sign in to comment.