- Timestamp:
- 03/08/22 12:30:26 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_enum_impl.hpp
r2146 r2305 121 121 bool CAttributeEnum<T>::isEqual_(const CAttributeEnum& attr) 122 122 { 123 if ((!this->hasInheritedValue() && !attr.hasInheritedValue())) 124 return true; 125 if (this->hasInheritedValue() && attr.hasInheritedValue()) 126 return (this->getInheritedValue() == attr.getInheritedValue()); 127 else 128 return false; 123 if (this->isEmpty() && attr.isEmpty()) return true ; 124 if (!this->isEmpty() && !attr.isEmpty()) return (this->getValue() == attr.getValue()); 125 else return false; 129 126 } 130 127
Note: See TracChangeset
for help on using the changeset viewer.