fix: Separate moduleVersion and logger declarations in TankModule.h
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 <noreply@anthropic.com>
This commit is contained in:
parent
04a41d957a
commit
113b966341
@ -32,7 +32,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::vector<Tank> tanks;
|
std::vector<Tank> tanks;
|
||||||
int frameCount = 0;
|
int frameCount = 0;
|
||||||
std::string moduleVersion = "v1.0";std::shared_ptr<spdlog::logger> logger;
|
std::string moduleVersion = "v1.0";
|
||||||
|
std::shared_ptr<spdlog::logger> logger;
|
||||||
std::unique_ptr<IDataNode> config;
|
std::unique_ptr<IDataNode> config;
|
||||||
|
|
||||||
void updateTank(Tank& tank, float dt);
|
void updateTank(Tank& tank, float dt);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user