Ignore:
Timestamp:
10/22/12 13:39:59 (12 years ago)
Author:
ymipsl
Message:

supress some warning at compile time

YM

File:
1 edited

Legend:

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

    r369 r378  
    166166  string CEnum_ref<T>::_toString(void) const 
    167167  { 
    168     if (!empty) return string((T::getStr())[(int)(*ptrValue)]) ; 
     168    if (empty) return string("empty");  
     169    return string((T::getStr())[(int)(*ptrValue)]) ; 
    169170  } 
    170171 
     
    179180    else ERROR("template <typename T>  bool CEnum_ref<T>::_toBuffer(CBufferOut& buffer) const", 
    180181               <<"incompatibility between enumeration and standard integer type") ; 
     182    return false ; 
    181183  } 
    182184   
Note: See TracChangeset for help on using the changeset viewer.