fix: access to deleted Sensor

This commit is contained in:
MihailRis
2024-08-01 17:10:30 +03:00
parent f8907f7db1
commit 50a388c539
3 changed files with 12 additions and 0 deletions
+2
View File
@@ -39,6 +39,8 @@ public:
void setSensors(std::vector<Sensor*> sensors) {
this->sensors = std::move(sensors);
}
void removeSensor(Sensor* sensor);
};
#endif // PHYSICS_PHYSICSSOLVER_HPP_