mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-16 23:56:16 +00:00
Add missing fallthrough declaration.
This commit is contained in:
parent
70eaa79108
commit
056a036712
@ -16,6 +16,7 @@ void Keyboard::perform_command(const Command &command) {
|
|||||||
switch(command.type) {
|
switch(command.type) {
|
||||||
case Command::Type::Reset:
|
case Command::Type::Reset:
|
||||||
modifiers_ = 0xffff;
|
modifiers_ = 0xffff;
|
||||||
|
[[fallthrough]];
|
||||||
case Command::Type::Flush: {
|
case Command::Type::Flush: {
|
||||||
std::lock_guard lock_guard(keys_mutex_);
|
std::lock_guard lock_guard(keys_mutex_);
|
||||||
pending_events_.clear();
|
pending_events_.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user