Skip to content

Commit

Permalink
#410: termination: cleanup more code---remove unecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Oct 31, 2023
1 parent 4b3a9c6 commit 48f7a8c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/vt/termination/termination.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1166,10 +1166,7 @@ void TerminationDetector::cleanupReleasedEpoch(EpochType epoch) {
epoch
);
if (is_term) {
auto iter = epoch_released_.find(epoch);
if (iter != epoch_released_.end()) {
epoch_released_.erase(iter);
}
epoch_released_.erase(epoch);
}
}
}
Expand Down

0 comments on commit 48f7a8c

Please sign in to comment.