Skip to content

Commit

Permalink
Added fallthrough comment for compatibility with -Wimplicit-fallthrou…
Browse files Browse the repository at this point in the history
…gh (gcc7)
  • Loading branch information
dcraik committed May 11, 2017
1 parent 8eee2af commit d99e3ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RapidParticleData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ void RapidParticleData::setupMass(RapidParticle* part) {
default:
std::cout << "WARNING in RapidParticleData::setupMass : unknown lineshape for " << name << "." << std::endl
<< " : using a relativistic Breit-Wigner." << std::endl;
/* FALLTHRU */
case RapidParticleData::RelBW:
pdf = makeRelBW(m, mass, width, spin, mA, mB, name);
}
Expand Down

0 comments on commit d99e3ac

Please sign in to comment.