chore(Core/Misc): use fallthrough attribute instead of comment (#9660)

This commit is contained in:
Kitzunu
2021-12-17 18:05:57 +01:00
committed by GitHub
parent a4ff3f6101
commit ef8faa0904

View File

@@ -369,7 +369,7 @@ UpdateResult UpdateFetcher::Update(bool const redundancyChecks,
{
case MODE_APPLY:
speed = Apply(filePath);
/* fallthrough */
[[fallthrough]];
case MODE_REHASH:
UpdateEntry(file, speed);
break;