Ignore:
Timestamp:
04/13/18 16:25:46 (6 years ago)
Author:
yushan
Message:

Branch EP merged with Dev_cmip6 @r1481

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/type/type_impl.hpp

    r1105 r1482  
    8787  T& CType<T>::get(void) 
    8888  { 
    89     checkEmpty(); 
    90    return *ptrValue ; 
     89    this->checkEmpty(); 
     90    return *ptrValue ; 
    9191  } 
    9292 
     
    9494  const T& CType<T>::get(void) const 
    9595  { 
    96     checkEmpty(); 
     96    this->checkEmpty(); 
    9797    return *ptrValue ; 
    9898  } 
     
    122122   CType<T>::operator T&() 
    123123   { 
    124     checkEmpty(); 
    125     return *ptrValue ; 
     124     this->checkEmpty(); 
     125     return *ptrValue ; 
    126126   } 
    127127 
     
    129129   CType<T>::operator const T&() const 
    130130   { 
    131     checkEmpty(); 
    132     return *ptrValue ; 
     131     this->checkEmpty(); 
     132     return *ptrValue ; 
    133133   } 
    134134 
     
    136136   CType<T>* CType<T>::_clone(void) const 
    137137   { 
    138      checkEmpty(); 
     138     this->checkEmpty(); 
    139139     return new CType(*this) ; 
    140140   } 
     
    165165  { 
    166166    ostringstream oss; 
    167     checkEmpty(); 
     167    this->checkEmpty(); 
    168168    oss<<*ptrValue ; 
    169169    return oss.str() ; 
     
    173173  bool CType<T>::_toBuffer(CBufferOut& buffer) const 
    174174  { 
    175     checkEmpty(); 
     175    this->checkEmpty(); 
    176176    return buffer.put(*ptrValue) ; 
    177177  } 
     
    206206 
    207207  template <typename T> 
    208   void CType<T>::checkEmpty(void) const 
     208  void CType<T>::_checkEmpty(void) const 
    209209  { 
    210210    if (empty) ERROR("template <typename T> void CType<T>::checkEmpty(void) const", << "Data is not initialized") ; 
Note: See TracChangeset for help on using the changeset viewer.