fixed memory leak

This commit is contained in:
2025-03-13 23:18:38 +01:00
parent 86b255a140
commit 6c3dc79f37
19 changed files with 284 additions and 66 deletions

View File

@ -6,11 +6,30 @@
#include "../Config.h"
class ICostComponent {
protected:
enum NET_LEVEL
{
NetLevel1,
NetLevel2,
NetLevel3,
NetLevel4,
NetLevel5,
NetLevel6,
NetLevel7mp,
NetLevel7op,
NetLevel7unt
};
enum MEASUREMENT_TYPE
{
NIEDER_WANDLERZAEHLER,
MITTLE_WANDLERZAEHLER,
DREHSTROM_ZEAHLUNG
};
public:
std::bitset<MAX_CONDITIONS> applicableConditions;
template<typename... Conditions>
ICostComponent(Conditions... conditions) {
explicit ICostComponent(Conditions... conditions) {
}
virtual ~ICostComponent() = default;