SerializableSim: add virtual dtor

This commit is contained in:
Arne Morten Kvarving 2023-12-08 18:42:07 +01:00
parent 3b60e1ef89
commit 269d1877f7

View File

@ -34,6 +34,8 @@ class SimulatorTimer;
//! \brief Abstract interface for simulator serialization ops.
struct SerializableSim {
virtual ~SerializableSim() = default;
//! \brief Load simulator state from file.
virtual void loadState(HDF5Serializer& serializer,
const std::string& groupName) = 0;