Sim: Add virtual destructor to SIM_SERDE

This commit is contained in:
Mikolaj Wielgus 2022-12-01 17:18:55 +01:00
parent 4ec7ea376e
commit f38c5d8cd0
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ public:
static constexpr auto PARAMS_FIELD = "Sim.Params"; static constexpr auto PARAMS_FIELD = "Sim.Params";
static constexpr auto ENABLE_FIELD = "Sim.Enable"; static constexpr auto ENABLE_FIELD = "Sim.Enable";
virtual ~SIM_SERDE() = default;
SIM_SERDE( SIM_MODEL& aModel ) : m_model( aModel ) {} SIM_SERDE( SIM_MODEL& aModel ) : m_model( aModel ) {}
std::string GenerateDevice() const; std::string GenerateDevice() const;