Skip to content

Commit

Permalink
Merge pull request #34903 from smuzaffar/gcc10-build-fix
Browse files Browse the repository at this point in the history
[GCC10] Use constexpr which fixes gcc10/ASAN build error
  • Loading branch information
cmsbuild committed Aug 17, 2021
2 parents 964253e + fa08891 commit c7ba375
Showing 1 changed file with 1 addition and 1 deletion.
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 c7ba375

Please sign in to comment.