Skip to content

Commit

Permalink
[CPP20][RECONSTRUCTION] Remove deprecated enum arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Mar 20, 2024
1 parent 754f2b8 commit 55baa75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoPPS/Local/src/TotemTimingTrackRecognition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TotemTimingTrackRecognition::TotemTimingTrackRecognition(const edm::ParameterSet
//----------------------------------------------------------------------------------------------------

void TotemTimingTrackRecognition::addHit(const TotemTimingRecHit& recHit) {
if (recHit.time() != TotemTimingRecHit::NO_T_AVAILABLE)
if (recHit.time() != static_cast<float>(TotemTimingRecHit::NO_T_AVAILABLE))
hitVectorMap_[0].emplace_back(recHit);
}

Expand Down

0 comments on commit 55baa75

Please sign in to comment.