From d99e3ac9b1a32b64e0649088d6d0e5fd0b80205d Mon Sep 17 00:00:00 2001 From: Daniel Craik Date: Thu, 11 May 2017 23:34:43 +0100 Subject: [PATCH] Added fallthrough comment for compatibility with -Wimplicit-fallthrough (gcc7) --- src/RapidParticleData.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RapidParticleData.cc b/src/RapidParticleData.cc index 732db81..49ef28e 100644 --- a/src/RapidParticleData.cc +++ b/src/RapidParticleData.cc @@ -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); }