From 056a036712d2cafa2cc3d9903bf12de989535a7a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 3 May 2021 20:31:13 -0400 Subject: [PATCH] Add missing fallthrough declaration. --- Machines/Apple/ADB/Keyboard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Machines/Apple/ADB/Keyboard.cpp b/Machines/Apple/ADB/Keyboard.cpp index 11c231a6f..9a9ad556f 100644 --- a/Machines/Apple/ADB/Keyboard.cpp +++ b/Machines/Apple/ADB/Keyboard.cpp @@ -16,6 +16,7 @@ void Keyboard::perform_command(const Command &command) { switch(command.type) { case Command::Type::Reset: modifiers_ = 0xffff; + [[fallthrough]]; case Command::Type::Flush: { std::lock_guard lock_guard(keys_mutex_); pending_events_.clear();