Ignore:
Timestamp:
12/17/12 11:32:12 (12 years ago)
Author:
ymipsl
Message:
  • Implement mechanism for tracking memory leak
  • Correct important memory leaks
  • Add complementary report on memory consumption

YM

File:
1 edited

Legend:

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

    r394 r401  
    209209  template <typename T_numtype,int N_rank> inline CMessage& operator<<(CMessage& msg, const CArray<T_numtype, N_rank>& array) 
    210210  { 
    211     msg.push(*array.clone()) ; 
     211    msg.push(array) ; 
    212212    return msg ; 
    213213  } 
     
    215215  template <typename T_numtype,int N_rank> inline CMessage& operator<<(CMessage& msg, CArray<T_numtype, N_rank>& array) 
    216216  { 
    217     msg.push(*array.clone()) ; 
     217    msg.push(array) ; 
    218218    return msg ; 
    219219  } 
Note: See TracChangeset for help on using the changeset viewer.