add equality operator to WATDENTRecord

This commit is contained in:
Arne Morten Kvarving
2019-12-02 15:39:11 +01:00
parent 49b8bff030
commit 2ae7921fcb

View File

@@ -109,6 +109,12 @@ struct WATDENTRecord {
double reference_temperature;
double first_coefficient;
double second_coefficient;
bool operator==(const WATDENTRecord& data) const {
return reference_temperature == data.reference_temperature &&
first_coefficient == data.first_coefficient &&
second_coefficient == data.second_coefficient;
}
};
struct WatdentTable : public FlatTable< WATDENTRecord > {