From 55baa75a6ea42054d39a0cd2e8c04cce922cfd87 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Wed, 20 Mar 2024 12:23:58 +0100 Subject: [PATCH] [CPP20][RECONSTRUCTION] Remove deprecated enum arithmetic --- RecoPPS/Local/src/TotemTimingTrackRecognition.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoPPS/Local/src/TotemTimingTrackRecognition.cc b/RecoPPS/Local/src/TotemTimingTrackRecognition.cc index c131e511f8447..921a973afb0e6 100644 --- a/RecoPPS/Local/src/TotemTimingTrackRecognition.cc +++ b/RecoPPS/Local/src/TotemTimingTrackRecognition.cc @@ -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(TotemTimingRecHit::NO_T_AVAILABLE)) hitVectorMap_[0].emplace_back(recHit); }