Changeset 2386 for XIOS3/trunk/src/attribute_template_impl.hpp
- Timestamp:
- 07/26/22 15:26:52 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/attribute_template_impl.hpp
r2305 r2386 168 168 if (!this->isEmpty() && !attr.isEmpty()) return (this->getValue() == attr.getValue()); 169 169 else return false; 170 } 171 172 template <class T> 173 int CAttributeTemplate<T>::computeHash(void) 174 { 175 // Basic hash computation through string 176 return std::hash<string>{}( toString() ); 170 177 } 171 178
Note: See TracChangeset
for help on using the changeset viewer.