From ad340466d09ae6de8adc20949f433772cb016b54 Mon Sep 17 00:00:00 2001 From: Peter Keresztes Schmidt Date: Sat, 18 Jul 2020 20:42:28 +0200 Subject: Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs (#25054) Related: #25006 (cherry picked from commit 85b5b842ca6c05d4e51081e6c3282940a80f3761) --- src/server/game/Spells/SpellMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/game/Spells/SpellMgr.cpp') diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 205a0dd2818..27023887431 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3106,7 +3106,7 @@ void SpellMgr::LoadSpellInfoCustomAttributes() spellEffectInfo.ApplyAuraName == SPELL_AURA_PERIODIC_HEALTH_FUNNEL || spellEffectInfo.ApplyAuraName == SPELL_AURA_PERIODIC_DUMMY) break; - /* fallthrough */ + [[fallthrough]]; default: { // No value and not interrupt cast or crowd control without SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY flag -- cgit v1.2.3