mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
BlockingLoop: Add explicit [[fallthrough]] annotations
This commit is contained in:
@ -158,6 +158,7 @@ public:
|
|||||||
// However, if we're not in the STATE_DONE state any more, the event should also be
|
// However, if we're not in the STATE_DONE state any more, the event should also be
|
||||||
// triggered so that we'll skip the next waiting call quite fast.
|
// triggered so that we'll skip the next waiting call quite fast.
|
||||||
m_done_event.Set();
|
m_done_event.Set();
|
||||||
|
[[fallthrough]];
|
||||||
|
|
||||||
case STATE_DONE:
|
case STATE_DONE:
|
||||||
// We're done now. So time to check if we want to sleep or if we want to stay in a busy
|
// We're done now. So time to check if we want to sleep or if we want to stay in a busy
|
||||||
@ -173,6 +174,7 @@ public:
|
|||||||
// Busy loop.
|
// Busy loop.
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
[[fallthrough]];
|
||||||
|
|
||||||
case STATE_SLEEPING:
|
case STATE_SLEEPING:
|
||||||
// Just relax
|
// Just relax
|
||||||
|
Reference in New Issue
Block a user