Skip to content

Commit

Permalink
[CLANG] Fix compilation warnings with LLVM 9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored Jan 27, 2020
1 parent a5e6eb8 commit e7a3d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/TrackerRecHit2D/interface/FastTrackerRecHit.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace fastTrackerRecHitType {
siStripProjectedStereo2D = 5,
};
inline trackerHitRTTI::RTTI rtti(HitType hitType) {
if (hitType >= 0 && hitType <= 2)
if (hitType >= siPixel && hitType <= siStrip2D)
return trackerHitRTTI::fastSingle;
else if (hitType == siStripMatched2D)
return trackerHitRTTI::fastMatch;
Expand Down

0 comments on commit e7a3d83

Please sign in to comment.