mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
fixed 2 warning-errors on archlinux(gcc 8.1): implicit fallthrough, ignored qualifiers (#3270)
This commit is contained in:
parent
1276c8dd46
commit
91b3c7343d
3 changed files with 6 additions and 2 deletions
|
|
@ -1029,7 +1029,7 @@ void TabGame::eventPlayerPropertiesChanged(const Event_PlayerPropertiesChanged &
|
|||
playerListWidget->updatePlayerProperties(prop, eventPlayerId);
|
||||
|
||||
const GameEventContext::ContextType contextType =
|
||||
static_cast<const GameEventContext::ContextType>(getPbExtension(context));
|
||||
static_cast<GameEventContext::ContextType>(getPbExtension(context));
|
||||
switch (contextType) {
|
||||
case GameEventContext::READY_START: {
|
||||
bool ready = prop.ready_start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue