- 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_template_impl.hpp
r2146 r2305 165 165 bool CAttributeTemplate<T>::isEqual_(const CAttributeTemplate& attr) 166 166 { 167 if ((!this->hasInheritedValue() && !attr.hasInheritedValue())) 168 return true; 169 if (this->hasInheritedValue() && attr.hasInheritedValue()) 170 return (this->getInheritedValue() == attr.getInheritedValue()); 171 else 172 return false; 167 if (this->isEmpty() && attr.isEmpty()) return true ; 168 if (!this->isEmpty() && !attr.isEmpty()) return (this->getValue() == attr.getValue()); 169 else return false; 173 170 } 174 171
Note: See TracChangeset
for help on using the changeset viewer.