forward-declare GameConfig as the struct it is
Command.h announced it as a class while GameConfig.h defines a struct, which MSVC reports as C4099 in every translation unit that sees both. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ne3mejABZoLWKLh8fgpM3x
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
#include "Rotation.h"
|
#include "Rotation.h"
|
||||||
#include "ShipLayout.h"
|
#include "ShipLayout.h"
|
||||||
|
|
||||||
class GameConfig;
|
struct GameConfig;
|
||||||
|
|
||||||
// Player intent, resolved to domain ids / tile coordinates and serializable, that
|
// Player intent, resolved to domain ids / tile coordinates and serializable, that
|
||||||
// mutates the simulation. Every sim mutation during play flows through a Command
|
// mutates the simulation. Every sim mutation during play flows through a Command
|
||||||
|
|||||||
Reference in New Issue
Block a user