Ignore:
Timestamp:
12/01/21 16:52:24 (3 years ago)
Author:
ymipsl
Message:

tracking memory leak
Elements, views, and connectors are now managed with shared pointer.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/generic_algorithm_transformation.hpp

    r2145 r2267  
    4848    typedef std::unordered_map<int, std::vector<double> > TransformationWeightMap; 
    4949  
    50     CLocalElement* recvElement_=nullptr ; 
     50    shared_ptr<CLocalElement> recvElement_ ; 
    5151    bool isSource_ ; 
    5252 
    5353  public: 
    54     CLocalElement* getRecvElement(void) { return recvElement_ ;} 
     54    shared_ptr<CLocalElement> getRecvElement(void) { return recvElement_ ;} 
    5555   
    5656}; 
Note: See TracChangeset for help on using the changeset viewer.