From 113b9663416bab938ba3198d682479bf6cce833d Mon Sep 17 00:00:00 2001 From: StillHammer Date: Thu, 20 Nov 2025 11:19:08 +0800 Subject: [PATCH] fix: Separate moduleVersion and logger declarations in TankModule.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ProductionHotReload test modifies moduleVersion line with string replacement, which was corrupting logger declaration when both were on same line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/modules/TankModule.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/modules/TankModule.h b/tests/modules/TankModule.h index ac52606..3fa5dac 100644 --- a/tests/modules/TankModule.h +++ b/tests/modules/TankModule.h @@ -32,7 +32,8 @@ public: private: std::vector tanks; int frameCount = 0; - std::string moduleVersion = "v1.0";std::shared_ptr logger; + std::string moduleVersion = "v1.0"; + std::shared_ptr logger; std::unique_ptr config; void updateTank(Tank& tank, float dt);