Ignore:
Timestamp:
11/25/21 18:25:19 (3 years ago)
Author:
ymipsl
Message:

tracking memory leak : remove context and all related object from object factory when context is finalized.
YM

File:
1 edited

Legend:

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

    r2243 r2265  
    124124         CObjectTemplate(void); 
    125125         explicit CObjectTemplate(const StdString & id); 
    126          CObjectTemplate(const CObjectTemplate<T> & object, 
    127                          bool withAttrList = true, bool withId = true); 
     126         CObjectTemplate(const CObjectTemplate<T> & object, bool withAttrList = true, bool withId = true); 
    128127         CObjectTemplate(const CObjectTemplate<T> * const object); // Not implemented. 
    129128 
     
    131130 
    132131         /// Propriétés statiques /// 
    133          static xios_map<StdString, 
    134                 xios_map<StdString, 
    135                 std::shared_ptr<DerivedType> > > AllMapObj; 
    136          static xios_map<StdString, 
    137                 std::vector<std::shared_ptr<DerivedType> > > AllVectObj; 
     132         static xios_map<StdString, xios_map<StdString, std::shared_ptr<DerivedType> > > AllMapObj; 
     133         static xios_map<StdString, std::vector<std::shared_ptr<DerivedType> > > AllVectObj; 
    138134 
    139135         static xios_map< StdString, long int > GenId ; 
Note: See TracChangeset for help on using the changeset viewer.