fix warnings + cland-tidy

This commit is contained in:
2025-07-23 19:18:25 +02:00
parent 705671148b
commit 9477099cfc
13 changed files with 47 additions and 12 deletions

View File

@@ -13,6 +13,7 @@ namespace sim {
class IWorldSystem {
public:
virtual void Tick(const game::World& a_World, WorldSnapshot& a_State, FpFloat a_Delta) = 0;
virtual ~IWorldSystem() = default;
};
class WorldTicker {
@@ -32,7 +33,7 @@ class WorldTicker {
template <typename T>
void AddSystem() {
m_Systems.push_back(std::move(std::make_unique<T>()));
m_Systems.push_back(std::make_unique<T>());
}
};