Skip to content

Commit

Permalink
static changed to static const
Browse files Browse the repository at this point in the history
  • Loading branch information
ronchese committed Jul 6, 2022
1 parent c64ca5e commit c8cbaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeavyFlavorAnalysis/RecoDecay/src/BPHDecayVertex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ reco::TransientTrack* BPHDecayVertex::getTransientTrack(const reco::Candidate* c
const BPHEventSetupWrapper* BPHDecayVertex::getEventSetup() const { return evSetup; }

const string& BPHDecayVertex::getTrackSearchList(const reco::Candidate* cand) const {
static string dum = "";
static const string dum = "";
map<const reco::Candidate*, string>::const_iterator iter = searchMap.find(cand);
if (iter != searchMap.end())
return iter->second;
Expand Down

0 comments on commit c8cbaa7

Please sign in to comment.