remove accessors in TableSchema added for external serialization

This commit is contained in:
Arne Morten Kvarving 2020-03-13 08:20:12 +01:00
parent 83f78c5918
commit 641631d991
2 changed files with 1 additions and 7 deletions

View File

@ -37,8 +37,6 @@ namespace Opm {
const ColumnSchema& getColumn( size_t columnIndex ) const;
bool hasColumn(const std::string&) const;
const OrderedMap<std::string, ColumnSchema>& getColumns() const;
/* Number of columns */
size_t size() const;

View File

@ -47,11 +47,7 @@ namespace Opm {
return m_columns.count( name ) > 0;
}
const OrderedMap<std::string, ColumnSchema>& TableSchema::getColumns() const {
return m_columns;
}
bool TableSchema::operator==(const TableSchema& data) const {
return this->getColumns() == data.getColumns();
return this->m_columns == data.m_columns;
}
}