From 0e64f45a5eec0bce06de289ae175f13404e12880 Mon Sep 17 00:00:00 2001 From: Malte Langkabel Date: Tue, 18 Aug 2026 12:31:10 +0200 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01Ne3mejABZoLWKLh8fgpM3x --- src/lib/sim/Command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sim/Command.h b/src/lib/sim/Command.h index b91c426..d3c4f2f 100644 --- a/src/lib/sim/Command.h +++ b/src/lib/sim/Command.h @@ -13,7 +13,7 @@ #include "Rotation.h" #include "ShipLayout.h" -class GameConfig; +struct GameConfig; // Player intent, resolved to domain ids / tile coordinates and serializable, that // mutates the simulation. Every sim mutation during play flows through a Command