fix warnings + cland-tidy
This commit is contained in:
@@ -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>());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user