fixed 2 warning-errors on archlinux(gcc 8.1): implicit fallthrough, ignored qualifiers (#3270)

This commit is contained in:
Bers 2018-06-09 10:28:17 +02:00 committed by ctrlaltca
parent 1276c8dd46
commit 91b3c7343d
3 changed files with 6 additions and 2 deletions

View file

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