From ef8faa0904385a88cb117a1de9a80f06abebd3c3 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 17 Dec 2021 18:05:57 +0100 Subject: [PATCH] chore(Core/Misc): use fallthrough attribute instead of comment (#9660) --- src/server/database/Updater/UpdateFetcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/database/Updater/UpdateFetcher.cpp b/src/server/database/Updater/UpdateFetcher.cpp index 5ca247180..1907c9ce5 100644 --- a/src/server/database/Updater/UpdateFetcher.cpp +++ b/src/server/database/Updater/UpdateFetcher.cpp @@ -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;