Skip to content

Commit

Permalink
Merge pull request #44490 from iarspider/cpp20-no-enum-arithmetics-re…
Browse files Browse the repository at this point in the history
…construction

[CPP20][RECONSTRUCTION] Remove deprecated enum arithmetic
  • Loading branch information
cmsbuild authored Mar 20, 2024
2 parents 97d3cae + 55baa75 commit ce15d4d
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 ce15d4d

Please sign in to comment.