Add Virtual Destructor to SimpleTable
The TableContainer manages pointers to types derived from this base class so for orderly destruction we really should have virtual destructors here.
This commit is contained in:
parent
9a0ccfd853
commit
932d3fe85e
@ -39,6 +39,8 @@ namespace Opm {
|
|||||||
SimpleTable(TableSchema, const std::string& tableName, const DeckItem& deckItem, const int tableID);
|
SimpleTable(TableSchema, const std::string& tableName, const DeckItem& deckItem, const int tableID);
|
||||||
explicit SimpleTable( TableSchema );
|
explicit SimpleTable( TableSchema );
|
||||||
|
|
||||||
|
virtual ~SimpleTable() = default;
|
||||||
|
|
||||||
static SimpleTable serializationTestObject();
|
static SimpleTable serializationTestObject();
|
||||||
|
|
||||||
void addColumns();
|
void addColumns();
|
||||||
|
Loading…
Reference in New Issue
Block a user