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:
Bård Skaflestad 2023-11-17 11:03:34 +01:00
parent 9a0ccfd853
commit 932d3fe85e

View File

@ -39,6 +39,8 @@ namespace Opm {
SimpleTable(TableSchema, const std::string& tableName, const DeckItem& deckItem, const int tableID);
explicit SimpleTable( TableSchema );
virtual ~SimpleTable() = default;
static SimpleTable serializationTestObject();
void addColumns();