Skip to content

Commit

Permalink
[GCC10] Use constexpr which fixes gcc10 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Aug 17, 2021
1 parent 5846a81 commit fa08891
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit fa08891

Please sign in to comment.