Ignore:
Timestamp:
05/04/17 15:14:37 (7 years ago)
Author:
mhnguyen
Message:

Fixing bug of using *_ref on chaining transformations.

+) Correct isEqual function of attribute_template
+) Modify isEqual function of CAttributeMap to make sure that some attributes are
excluded from comparasion

Test
+) On Curie
+) toy_cmpi6 works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute_template_impl.hpp

    r1112 r1117  
    145145    { 
    146146      const CAttributeTemplate<T>& tmp = dynamic_cast<const CAttributeTemplate<T>& >(attr); 
    147       this->isEqual(tmp); 
    148  
    149     } 
    150  
    151     template <class T> 
    152     bool CAttributeTemplate<T>::isEqual(const CAttributeTemplate& attr) 
     147      return this->isEqual_(tmp); 
     148    } 
     149 
     150    template <class T> 
     151    bool CAttributeTemplate<T>::isEqual_(const CAttributeTemplate& attr) 
    153152    { 
    154153      if ((!this->hasInheritedValue() && !attr.hasInheritedValue())) 
Note: See TracChangeset for help on using the changeset viewer.