add equality operator to VISCREFRecord
This commit is contained in:
@@ -92,6 +92,11 @@ struct VISCREFRecord {
|
||||
|
||||
double reference_pressure;
|
||||
double reference_rs;
|
||||
|
||||
bool operator==(const VISCREFRecord& data) const {
|
||||
return reference_pressure == data.reference_pressure &&
|
||||
reference_rs == data.reference_rs;
|
||||
}
|
||||
};
|
||||
|
||||
struct ViscrefTable : public FlatTable< VISCREFRecord > {
|
||||
|
||||
Reference in New Issue
Block a user