mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 11:03:25 -08:00
[Tournament] Fix GameConfig forward declaration and annotate command handlers
Forward-declare GameConfig as struct to match its definition in game_config.h; the class/struct mismatch trips -Werror -Wmismatched-tags on macOS. Also add the missing /// Server: annotations on the tournament GameCommandType entries now that the Server_AbstractParticipant handlers they point at exist in the tree.
This commit is contained in:
parent
d44217983a
commit
cf78ca9d1a
2 changed files with 7 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QString>
|
||||
|
||||
class GameConfig;
|
||||
struct GameConfig;
|
||||
class Server_Game;
|
||||
class Server_AbstractUserInterface;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue