Ignore:
Timestamp:
04/25/17 10:57:59 (4 years ago)
Author:
mhnguyen
Message:

Clean up some compilation warnings

File:
1 edited

Legend:

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

    r1105 r1107  
    128128  } ; 
    129129 
    130   template <typename T> inline bool operator==(const CType<T>& lhs, const T& rhs);    
    131   template <typename T> inline bool operator==(const T& lhs, const CType<T>& rhs);    
    132   template <typename T> inline bool operator==(const CType_ref<T>& lhs, const T& rhs);    
    133   template <typename T> inline bool operator==(const T& lhs, const CType_ref<T>& rhs);  
    134   template <typename T> inline bool operator==(const CType_ref<T>& lhs, const CType_ref<T>& rhs);  
     130  template <typename T> bool operator==(const CType<T>& lhs, const T& rhs);    
     131  template <typename T> bool operator==(const T& lhs, const CType<T>& rhs);    
     132  template <typename T> bool operator==(const CType_ref<T>& lhs, const T& rhs);    
     133  template <typename T> bool operator==(const T& lhs, const CType_ref<T>& rhs);  
     134  template <typename T> bool operator==(const CType<T>& lhs, const CType<T>& rhs);  
     135  template <typename T> bool operator==(const CType_ref<T>& lhs, const CType_ref<T>& rhs);  
    135136 
    136137  template <typename T> 
    137   inline bool operator==(const CType_ref<T>& lhs, const CType<T>& rhs) 
     138  bool operator==(const CType_ref<T>& lhs, const CType<T>& rhs) 
    138139  { 
    139140    if ((lhs.isEmpty() && !rhs.isEmpty()) || (!lhs.isEmpty() && rhs.isEmpty())) return false; 
     
    143144 
    144145  template <typename T> 
    145   inline bool operator==(const CType<T>& lhs, const CType_ref<T>& rhs) 
     146  bool operator==(const CType<T>& lhs, const CType_ref<T>& rhs) 
    146147  { 
    147148    return (rhs == lhs); 
Note: See TracChangeset for help on using the changeset viewer.