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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;