mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Add missing fallthrough declaration.
This commit is contained in:
parent
c906dc3c0a
commit
0cf1c9040a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user