1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-01 13:58:20 +00:00

Add missing fallthrough declaration.

This commit is contained in:
Thomas Harte 2021-05-03 20:31:13 -04:00
parent c906dc3c0a
commit 0cf1c9040a

View File

@ -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();