From fa088914ab7103df6822e3b0fe300cbae9078326 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Tue, 17 Aug 2021 08:08:41 +0200 Subject: [PATCH] [GCC10] Use constexpr which fixes gcc10 build error --- Alignment/HIPAlignmentAlgorithm/plugins/LhcTrackAnalyzer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alignment/HIPAlignmentAlgorithm/plugins/LhcTrackAnalyzer.cc b/Alignment/HIPAlignmentAlgorithm/plugins/LhcTrackAnalyzer.cc index 8e97682a169b8..9d30308184337 100644 --- a/Alignment/HIPAlignmentAlgorithm/plugins/LhcTrackAnalyzer.cc +++ b/Alignment/HIPAlignmentAlgorithm/plugins/LhcTrackAnalyzer.cc @@ -69,7 +69,7 @@ class LhcTrackAnalyzer : public edm::one::EDAnalyzer<> { //======================= void SetVarToZero(); - static const int nMaxtracks_ = 3000; + static constexpr int nMaxtracks_ = 3000; int nTracks_; int run_; int event_;